github.com/containers/podman/v5@v5.1.0-rc1/docs/source/markdown/options/read-only.md (about)

     1  ####> This option file is used in:
     2  ####>   podman create, run
     3  ####> If file is edited, make sure the changes
     4  ####> are applicable to all of those.
     5  #### **--read-only**
     6  
     7  Mount the container's root filesystem as read-only.
     8  
     9  By default, container root filesystems are writable, allowing processes
    10  to write files anywhere. By specifying the **--read-only** flag, the containers root filesystem are mounted read-only prohibiting any writes.