Skip to content

Mount container's root filesystem as read only#231

Open
anshupande wants to merge 1 commit into
adobe-platform:masterfrom
anshupande:root-filesystem-readonly
Open

Mount container's root filesystem as read only#231
anshupande wants to merge 1 commit into
adobe-platform:masterfrom
anshupande:root-filesystem-readonly

Conversation

@anshupande

@anshupande anshupande commented Jun 2, 2016

Copy link
Copy Markdown
Contributor

The container's root file system should be treated as a 'golden image' and any writes to the rootfilesystem should be avoided. You should explicitly define a container volume for writing. Add a --read-only flag to allow the container's root filesystem to bemounted as read only. This can be used in combination with volumes to force a container's process to only write to locations that will be persisted. refer: https://benchmarks.cisecurity.org/tools2/docker/CIS_Docker_1.11.0_Benchmark_v1.0.0.pdf

@anshupande

Copy link
Copy Markdown
Contributor Author

@matthewdfuller

Copy link
Copy Markdown
Contributor

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants