summaryrefslogtreecommitdiff
path: root/cmd/podman/common/specgen.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-05-05 14:28:10 -0400
committerGitHub <noreply@github.com>2021-05-05 14:28:10 -0400
commitdbc4a5d85bb948a41af710804d61cdba8aac8e0b (patch)
treeb468b9cf7ce10a5e1be756656513274f4eda228d /cmd/podman/common/specgen.go
parent7b50af42c30e6a0d80a20a4e55f6cc7d2c0110d5 (diff)
parent68fe1950fe5bad7e29b7a75bb1e94a54fd7e5360 (diff)
downloadpodman-dbc4a5d85bb948a41af710804d61cdba8aac8e0b.tar.gz
podman-dbc4a5d85bb948a41af710804d61cdba8aac8e0b.tar.bz2
podman-dbc4a5d85bb948a41af710804d61cdba8aac8e0b.zip
Merge pull request #10220 from giuseppe/rm-volatile
podman: set volatile storage flag for --rm containers
Diffstat (limited to 'cmd/podman/common/specgen.go')
-rw-r--r--cmd/podman/common/specgen.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/common/specgen.go b/cmd/podman/common/specgen.go
index f889a0169..d0b012090 100644
--- a/cmd/podman/common/specgen.go
+++ b/cmd/podman/common/specgen.go
@@ -646,6 +646,7 @@ func FillOutSpecGen(s *specgen.SpecGenerator, c *ContainerCLIOpts, args []string
s.Umask = c.Umask
s.Secrets = c.Secrets
s.PidFile = c.PidFile
+ s.Volatile = c.Rm
return nil
}