podman/docs/source/markdown/options/read-only.md

436 B

####> This option file is used in: ####> podman create, run ####> If file is edited, make sure the changes ####> are applicable to all of those.

--read-only

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

By default, container root filesystems are writable, allowing processes to write files anywhere. By specifying the --read-only flag, the containers root filesystem are mounted read-only prohibiting any writes.