diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-04-29 02:38:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-29 02:38:14 -0700 |
commit | e0312334cca5d8f5adf9844100f15317a86068d4 (patch) | |
tree | 2ae5e969ada5731b8379f94e21a447d0170486d2 /cmd/podman/common.go | |
parent | fe3acddcbe02cfa258170707791bd096dc909022 (diff) | |
parent | 3a4be4b66ca22d87446c37218b300b8f31a84b92 (diff) | |
download | podman-e0312334cca5d8f5adf9844100f15317a86068d4.tar.gz podman-e0312334cca5d8f5adf9844100f15317a86068d4.tar.bz2 podman-e0312334cca5d8f5adf9844100f15317a86068d4.zip |
Merge pull request #3025 from rhatdan/read-only
Add --read-only-tmpfs options
Diffstat (limited to 'cmd/podman/common.go')
-rw-r--r-- | cmd/podman/common.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/podman/common.go b/cmd/podman/common.go index ba4a3f519..eac96d3ba 100644 --- a/cmd/podman/common.go +++ b/cmd/podman/common.go @@ -434,6 +434,10 @@ func getCreateFlags(c *cliconfig.PodmanCommand) { "read-only", false, "Make containers root filesystem read-only", ) + createFlags.Bool( + "read-only-tmpfs", true, + "When running containers in read-only mode mount a read-write tmpfs on /run, /tmp and /var/tmp", + ) createFlags.String( "restart", "", "Restart is not supported. Please use a systemd unit file for restart", |