1. About Docker

1.1. What is docker?

../_images/docker-vs-lxc.png

Figure 1.25. Docker vs LXC

1.2. Architecture

Guest

Container running on Docker Engine

Host

Server running Docker Engine, see also Docker 0

Docker 0

Server running Docker Engine

1.3. Docker image vs container

Image

Ready to run Operating System with pre-installed software

Container

Running instance of an image

1.4. Layers

Layer

Diff between outputs of Dockerfile RUN command while building an image

../_images/docker-layer-images.png

Figure 1.26. Layers

../_images/docker-layers.png

Figure 1.27. Layers

../_images/docker-container-layers.jpg

Figure 1.28. Container Layers

../_images/docker-container-layers.png

Figure 1.29. Container Layers