summaryrefslogtreecommitdiff
path: root/cmd/podman/main.go
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2018-06-01 13:02:20 +0200
committerAtomic Bot <atomic-devel@projectatomic.io>2018-06-15 14:53:18 +0000
commit81a7095389f2220aa7b0631f6013a4c03839dbd9 (patch)
treeabf3749ec58b663dea847c56927e378034587596 /cmd/podman/main.go
parentbe66361e08d571dee36dd6034ee54aacf9e88e96 (diff)
downloadpodman-81a7095389f2220aa7b0631f6013a4c03839dbd9.tar.gz
podman-81a7095389f2220aa7b0631f6013a4c03839dbd9.tar.bz2
podman-81a7095389f2220aa7b0631f6013a4c03839dbd9.zip
podman: allow to override Tmpdir
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> Closes: #871 Approved by: mheon
Diffstat (limited to 'cmd/podman/main.go')
-rw-r--r--cmd/podman/main.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/podman/main.go b/cmd/podman/main.go
index 56e724098..8ee86dd92 100644
--- a/cmd/podman/main.go
+++ b/cmd/podman/main.go
@@ -154,6 +154,10 @@ func main() {
Usage: "path to the root directory in which data, including images, is stored",
},
cli.StringFlag{
+ Name: "tmpdir",
+ Usage: "path to the tmp directory",
+ },
+ cli.StringFlag{
Name: "runroot",
Usage: "path to the 'run directory' where all state information is stored",
},