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
To the container, things look simple. Your app, its dependencies and Python sit together in one set of folders.
-
2
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