Skip to content
Captain's Academy0
← Kubernetes sea chart
Island 7 · Storage · Port 7.1

Storage in Docker

Ask the Captain
Instagram
Delete the container, and the file is gone. Why?
You'll learn to

explain layers, volumes and bind mounts

Recap

  1. 1Images are read-only layers
  2. 2A container adds one writable layer (copy-on-write)
  3. 3Only volumes or bind mounts keep data
Check yourself

A container writes a file, then the container is removed. Where did the file live?

7.1

Stamp this lesson

Watched it and passed the check? Mark it in your logbook.