summaryrefslogtreecommitdiff
path: root/cmd/podman/shared/container.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-04-29 02:38:14 -0700
committerGitHub <noreply@github.com>2019-04-29 02:38:14 -0700
commite0312334cca5d8f5adf9844100f15317a86068d4 (patch)
tree2ae5e969ada5731b8379f94e21a447d0170486d2 /cmd/podman/shared/container.go
parentfe3acddcbe02cfa258170707791bd096dc909022 (diff)
parent3a4be4b66ca22d87446c37218b300b8f31a84b92 (diff)
downloadpodman-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/shared/container.go')
-rw-r--r--cmd/podman/shared/container.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/podman/shared/container.go b/cmd/podman/shared/container.go
index e14276bdf..9050fd2b9 100644
--- a/cmd/podman/shared/container.go
+++ b/cmd/podman/shared/container.go
@@ -658,7 +658,8 @@ func GetCtrInspectInfo(config *libpod.ContainerConfig, ctrInspectData *inspect.C
OomKillDisable: memDisableOOMKiller,
PidsLimit: pidsLimit,
Privileged: config.Privileged,
- ReadonlyRootfs: spec.Root.Readonly,
+ ReadOnlyRootfs: spec.Root.Readonly,
+ ReadOnlyTmpfs: createArtifact.ReadOnlyTmpfs,
Runtime: config.OCIRuntime,
NetworkMode: string(createArtifact.NetMode),
IpcMode: string(createArtifact.IpcMode),