Skip to content

[Request]: support running containers --read-only and mounting volumes/bind mounts readonly #990

@Domini

Description

@Domini

Feature or enhancement request details

Allowing running containers and mounts read-only provides vast security improvements by severely limiting which paths are available for writing.

https://docs.docker.com/reference/cli/docker/container/run/#read-only | https://docs.podman.io/en/latest/markdown/podman-run.1.html#read-only
https://docs.docker.com/engine/storage/volumes/#use-a-read-only-volume + https://docs.docker.com/engine/storage/bind-mounts/#use-a-read-only-bind-mount | https://docs.podman.io/en/latest/markdown/podman-run.1.html#mount-type-type-type-specific-option

When implementing, support ro shortcut for readonly mounts for compatibility, please.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions