You are signed in. Close

You are signed out. Close

Thank you. Your subscription has started. Close

Thank you. You will get an email when a new comic comes out. Close

We could not confirm your payment. If you paid, use the link "Sign in" at the bottom of the page. Close

Something went wrong on our side. Please try again in a moment. Close

Previous episode Port publishing: how a request from outside reaches a container

What happens when you put your app in a Docker container

Image layers: what a Docker image is made of

A Docker image looks like one sealed package. On the disk of a server, it is something else. Ten images are built on Python, and the server does not keep ten copies of Python.

  1. 1 To the container, things look simple. Your app, its dependencies and Python sit together in one set of folders.the containerAll my files,in one place.its filesyour appdependenciesPython

    To the container, things look simple. Your app, its dependencies and Python sit together in one set of folders.

  2. 2 On the server's disk, though, the image keeps those files in quite another way.youThe image is sealed.What is inside?image

    On the server's disk, though, the image keeps those files in quite another way.

The rest of this episode is for subscribers

Subscribe to read every premium episode. You can cancel when you want.

Paid yearly: $99 instead of $119.88

Next episode Where a Docker container keeps the files it writes

Share this comic

More comics