diff options
author | Matthew Heon <matthew.heon@gmail.com> | 2018-10-10 14:04:17 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@gmail.com> | 2018-10-11 11:24:08 -0400 |
commit | 4882a6dd9dc8ee5475ce8a00c52a522e661dd387 (patch) | |
tree | de7eef31adc1396dad568de4a6242cdea01e8cee /cmd/podman | |
parent | b3cde231abb1fe5c70aaf18f6f7540e6a123ae9d (diff) | |
download | podman-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/podman')
-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 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", }, |