summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-10-11 10:40:37 -0700
committerGitHub <noreply@github.com>2018-10-11 10:40:37 -0700
commit6983e00a2808b29481d1cb460aab2eea1db6ef73 (patch)
tree2ee6bc368cc698e13d5dd5249061ecd2e2f93f6e /cmd
parent3c23bfca807eab55c145092c73dd8eb1e6599f38 (diff)
parent112e1402c9e2ee29a387cd84a973471c1888e4b9 (diff)
downloadpodman-6983e00a2808b29481d1cb460aab2eea1db6ef73.tar.gz
podman-6983e00a2808b29481d1cb460aab2eea1db6ef73.tar.bz2
podman-6983e00a2808b29481d1cb460aab2eea1db6ef73.zip
Merge pull request #1623 from mheon/static_ip
Add ability to specify static IPs with --ip flag
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",
},