mirror of
https://github.com/docker/cli.git
synced 2026-01-16 20:22:36 +03:00
Add a --readonly flag to allow the container's root filesystem to be mounted as readonly. This can be used in combination with volumes to force a container's process to only write to locations that will be persisted. This is useful in many cases where the admin controls where they would like developers to write files and error on any other locations. Closes #7923 Closes #8752 Signed-off-by: Michael Crosby <crosbymichael@gmail.com> Upstream-commit: 409407091a7282d0c4086b71e86397e2d089ba13 Component: engine