Skip to content
EduVerse
Docker

Docker

In depth

Platform

Container platform that packages applications with all their dependencies into portable containers.

Docker, explained

Written by EduVerse

What it is

Docker is a platform for building and running containers. A container bundles your app with everything it needs, like the runtime, libraries and system tools, and runs it isolated from the rest of the machine. A Dockerfile describes how to build an image, which then runs the same on your laptop and on a server.

Why teams use it

“It works on my machine” is a classic problem: different versions of Node, Java or a database on every laptop and server. Docker removes those differences, because everyone runs the same image. Compared with a virtual machine, a container shares the host’s kernel, so it starts in seconds and uses far less memory.

An example from work

You clone a project, run docker compose up, and Docker reads docker-compose.yml, pulls a PostgreSQL image and starts a container from it next to the app. Without installing a database yourself, the whole stack runs on localhost. If something already uses port 5432 on your machine, you’ll see a “port is already allocated” error instead.

Our own explanation, not a quote from the book.

In the book

Sentences from The Software Realm, Decoded that mention Docker, exactly as printed.

    2 more passages about Docker in the full book

    Read every conversation where Docker comes up, with the interactive slides and demos.

    See the book

    Where it fits

    Containerising applications for consistent environments

    Coverage in the book

    In depth

    Covered in depth: multiple pages with explanations, examples and simulations.

    Appears in