mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-09 23:47:40 +00:00
569 B
569 B
####> This option file is used in: ####> podman podman-container.unit.5.md.in, create, run ####> If file is edited, make sure the changes ####> are applicable to all of those. << if is_quadlet >>
ReadOnly=
<< else >>
--read-only
<< endif >>
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 << 'ReadOnly=' if is_quadlet else '--read-only' >> flag, the containers root filesystem are mounted read-only prohibiting any writes.