layman/terms
Going live

Container / Docker

kon · tay · ner

In shortA way of packing an app together with everything it needs, so it runs the same on any computer.

“It works on my computer” is a classic problem. Containers fix it by packing the computer's setup in with the app.

Before shipping containers, goods were loaded loose: sacks, barrels and crates, each handled differently at every port. Then came the standard steel box. Pack it once and it fits on any ship, lorry or train in the world.

A container does that for software. It packs an app together with everything it needs to run: the right versions of its tools, settings and dependencies. It then runs the same on any computer.

Why developers love them

Docker

Docker is the most popular container tool, so people often just say “Docker”. Others include Podman.

What it isn’t

It isn’t a full virtual computer. Containers share the main computer’s core, which makes them much lighter and quicker to start.

Where the comparison breaks down

A shipping container’s contents never change in transit. Software containers are usually rebuilt with every update.

How the words fit together

You build the app into a container and deploy it. Serverless goes further: you don’t even look after the machine it runs on.

Good to know

Docker is the best-known container tool, which is why people say “Docker” the way they say “Hoover”.

When you'll hear it

“Just run it in Docker.” Start the app in its own container, so it works without setting up your computer.

“It's containerised.” The app has been packed into a container, ready to run anywhere.

“Pull the image.” Download the packed-up app so you can run it.

Say it in a meeting

“If a new developer joined tomorrow, how long would it take them to get our app running?”

Try it yourselfReady to use it? The exact commands are on my other site, devcmds: Install Docker ↗