Container: A lightweight package that contains an application and everything it needs to run, such as libraries and settings, so it runs the same way on any machine.

Example

Your API works on your laptop but fails on the server because of a different Java version. The team packages it as a container with the right Java version included, and it runs the same everywhere.

Containers vs Virtual Machines

ContainerVirtual machine
IncludesApp and its dependenciesA full operating system plus the app
SizeMegabytesGigabytes
Starts inSecondsMinutes
IsolationShares the host's kernelFully separate OS

Container Words You Will Hear

  • Image: the template, built from a Dockerfile.
  • Container: a running instance of an image.
  • Registry: where images are stored, such as Docker Hub or Azure Container Registry.
  • Orchestration: managing many containers, usually with Kubernetes.

Why Teams Use Containers

They end the "it works on my machine" problem, make deployments predictable, and let you run a database or other service locally with one command. Docker is the most common tool, and basic container knowledge is expected for DevOps and helpful for every developer.

Related terms

Previous term: Constructive Feedback  |  Next term: Continuous Deployment (CD)

Related guides

Frequently asked questions

What is a container in software?

A container is a lightweight package of an application with everything it needs, so it runs the same way anywhere.

What is the difference between a container and a virtual machine?

A container shares the host's operating system kernel and is lightweight. A VM includes a full operating system and is heavier.

What is the difference between an image and a container?

An image is the template. A container is a running instance of that image.

Do developers need to know containers?

Basic knowledge helps a lot, since many teams run apps and local services in containers.

Explore more internship terms

The IT Internship Glossary explains 199 terms you will hear before and during your internship, with simple definitions and real examples.

Browse all 199 terms
Dhaivat Ajwaliya

About the author

Dhaivat Ajwaliya

Dhaivat has 16+ years of experience in the IT industry, working on AI and cloud technologies, project delivery, and engineering leadership. He has interviewed and mentored many interns, wrote The Lost Intern, and runs the non-commercial Career Impact Initiative, mentoring students for free.