From 4882a6dd9dc8ee5475ce8a00c52a522e661dd387 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Wed, 10 Oct 2018 14:04:17 -0400 Subject: 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 --- cmd/podman/common.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cmd') 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 @@ -248,6 +248,10 @@ var createFlags = []cli.Flag{ Name: "interactive, i", 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", -- cgit v1.2.3-54-g00ecf