summaryrefslogtreecommitdiff
path: root/cmd/podman/common.go
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2017-12-21 12:33:10 -0600
committerAtomic Bot <atomic-devel@projectatomic.io>2017-12-30 10:26:14 +0000
commitef4035e208f1431745cd044adb4b789fab3a98b6 (patch)
tree355c3667f5ba5aa537133254261a8cd383c69df5 /cmd/podman/common.go
parent7e922b103595fe64938a910fd4cd862685624391 (diff)
downloadpodman-ef4035e208f1431745cd044adb4b789fab3a98b6.tar.gz
podman-ef4035e208f1431745cd044adb4b789fab3a98b6.tar.bz2
podman-ef4035e208f1431745cd044adb4b789fab3a98b6.zip
Host networking
Allow for the user to specify network=host|bridge. If network is not specified, the default will be bridge. While "none" is now a valid option, it is not included in this. Signed-off-by: baude <bbaude@redhat.com> Closes: #164 Approved by: rhatdan
Diffstat (limited to 'cmd/podman/common.go')
-rw-r--r--cmd/podman/common.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/podman/common.go b/cmd/podman/common.go
index e6c2645c9..4b268dfff 100644
--- a/cmd/podman/common.go
+++ b/cmd/podman/common.go
@@ -324,7 +324,8 @@ var createFlags = []cli.Flag{
},
cli.StringFlag{
Name: "network",
- Usage: "Connect a container to a network (default 'default')",
+ Usage: "Connect a container to a network",
+ Value: "bridge",
},
cli.StringSliceFlag{
Name: "network-alias",