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 Image layers: what a Docker image is made of

What happens when you put your app in a Docker container

Where a Docker container keeps the files it writes

A Docker image is read-only. It never changes. Yet the app in a container saves files all day long. So where do those files go?

  1. 1 Rono taps save, and his playlist appears on the request page. The container did save it, but where?RonoSave tonight'splaylist!the containerGot it!

    Rono taps save, and his playlist appears on the request page. The container did save it, but where?

  2. 2 Not in the image, that is sure. The layers under the container are just as they were, and the playlist is in none of them.the containerbase imageadd dependenciescopy your appread-onlyplaylist?

    Not in the image, that is sure. The layers under the container are just as they were, and the playlist is in none of them.

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 Docker volumes: how your data stays when the container is gone

Share this comic

More comics