Docker image mounts: attach another image's filesystem
Answer: An image mount places the filesystem of another image into a container.
How it differs from other mounts
Volumes still give a container a place to read and write data.
Bind mounts and tmpfs mounts do the same for a directory or a memory-backed filesystem.
An image mount is different: it mounts the contents of another image into the container.
The container can read those files without them being part of its own image.
Limits
Image mounts are read-only.
The mounted image is never modified.
The container can't write to the mount.
Image mounts require the containerd image store.
See also
Claims
- id: C1 claim: Image mounts are read-only. source: S1 evidence: "Image mounts are read-only."
- id: C2 claim: Image mounts require the containerd image store. source: S1 evidence: "Image mounts require the containerd image store"
- id: C3 claim: Image mounts are read-only. source: S2 evidence: "Image mounts are read-only."
- id: C4 claim: The container cannot write to the mount. source: S2 evidence: "The container can't write to the mount."
Sources
- [S1] Image mounts. Docker, Inc.. https://docs.docker.com/engine/storage/image-mounts/ . License: Apache License 2.0. Accessed 2026-11-26.
- [S2] Image mounts (source). Docker, Inc.. https://raw.githubusercontent.com/docker/docs/main/content/manuals/engine/storage/image-mounts.md . License: Apache License 2.0. Accessed 2026-11-26.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Docker, Inc., Image mounts; Docker, Inc., Image mounts (source). Apache-2.0 (https://raw.githubusercontent.com/docker/docs/main/LICENSE). Copyright Docker, Inc. Text was condensed and changed from the originals.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Docker, Inc., Image mounts; Docker, Inc., Image mounts (source). Apache-2.0 (https://raw.githubusercontent.com/docker/docs/main/LICENSE). Copyright Docker, Inc.
Cite this
iinventedlight. 2026. "Docker image mounts: attach another image's filesystem." iinventedlight Library, iil:note:hek87t69, version of 2026-11-26. https://iinventedlight.com/library/notes/docker-image-mounts/. License: CC-BY-4.0.
@misc{iil_note_hek87t69,
author = {{iinventedlight}},
title = {{Docker image mounts: attach another image's filesystem}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-26},
url = {https://iinventedlight.com/library/notes/docker-image-mounts/},
note = {Permanent ID iil:note:hek87t69. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
Extra files beside this note
These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.
- docker-image-mounts.schema.json (schema; CC-BY-4.0)
- docker-image-mounts.table.json (table; CC-BY-4.0)
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/docker-image-mounts.md.