-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Closed
moby/buildkit
#6582Labels
area/buildRelates to Dockerfiles or docker build commandRelates to Dockerfiles or docker build commandlifecycle/frozen
Description
Is this a docs issue?
- My issue is about the documentation content or website
Type of issue
I can't find what I'm looking for
Description
In the Dockerfile reference @ https://docs.docker.com/reference/dockerfile/#run---mounttypebind, the docs for the rw param mention:
Written data will be discarded.
This is not covered anywhere in the guide for build mounts, which leads to the assumption that they behave like run mounts, which are bi-directional.
Location
https://docs.docker.com/build/guide/mounts/
Suggestion
Add a short explanation about the use-case for read-write mounts with clarification that they do NOT propagate back to the host and that all "written data will be discarded".
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/buildRelates to Dockerfiles or docker build commandRelates to Dockerfiles or docker build commandlifecycle/frozen