summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-10-10 14:04:17 -0400
committerMatthew Heon <matthew.heon@gmail.com>2018-10-11 11:24:08 -0400
commit4882a6dd9dc8ee5475ce8a00c52a522e661dd387 (patch)
treede7eef31adc1396dad568de4a6242cdea01e8cee /cmd
parentb3cde231abb1fe5c70aaf18f6f7540e6a123ae9d (diff)
downloadpodman-4882a6dd9dc8ee5475ce8a00c52a522e661dd387.tar.gz
podman-4882a6dd9dc8ee5475ce8a00c52a522e661dd387.tar.bz2
podman-4882a6dd9dc8ee5475ce8a00c52a522e661dd387.zip
Add --ip flag and plumbing into libpod
Add the --ip flag back with bash completions. Manpages still missing. Add plumbing to pass appropriate the appropriate option down to libpod to connect the flag to backend logic added in the previous commits. Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/common.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/podman/common.go b/cmd/podman/common.go
index 9ab0e57e5..c1e15e2fb 100644
--- a/cmd/podman/common.go
+++ b/cmd/podman/common.go
@@ -249,6 +249,10 @@ var createFlags = []cli.Flag{
Usage: "Keep STDIN open even if not attached",
},
cli.StringFlag{
+ Name: "ip",
+ Usage: "Specify a static IPv4 address for the container",
+ },
+ cli.StringFlag{
Name: "ipc",
Usage: "IPC namespace to use",
},