diff options
author | baude <bbaude@redhat.com> | 2017-12-21 12:33:10 -0600 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2017-12-30 10:26:14 +0000 |
commit | ef4035e208f1431745cd044adb4b789fab3a98b6 (patch) | |
tree | 355c3667f5ba5aa537133254261a8cd383c69df5 /cmd/podman/common.go | |
parent | 7e922b103595fe64938a910fd4cd862685624391 (diff) | |
download | podman-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.go | 3 |
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", |