codegurukool.com · Free coding tutorials & online compiler

Home › Docker Tutorial › Images, containers and registries

Images, containers and registries

The three core ideas.

An image is a read-only template (the recipe plus the ingredients). A container is a running instance of an image. A registry such as Docker Hub stores images so you can pull and share them. The Docker daemon (dockerd) does the work and the docker command is the client that talks to it. This first command pulls a tiny test image and runs it.

Example code

docker run hello-world

Run this code in the online editor

← Docker installationWorking with images →