summaryrefslogtreecommitdiff
path: root/docs/source/markdown/options/read-only.md
blob: ae5244a228c065ada70562f606584d64422c0770 (plain)
1
2
3
4
5
6
7
#### **--read-only**

Mount the container's root filesystem as read-only.

By default a container will have its root filesystem writable allowing processes
to write files anywhere. By specifying the **--read-only** flag, the container will have
its root filesystem mounted as read-only prohibiting any writes.