mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
The flag to use a pre-existing bridge interface is '-b'. Added explanation
This commit is contained in:
parent
793c1ad990
commit
22adb52c0a
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ func main() {
|
||||||
// FIXME: Switch d and D ? (to be more sshd like)
|
// FIXME: Switch d and D ? (to be more sshd like)
|
||||||
flDaemon := flag.Bool("d", false, "Daemon mode")
|
flDaemon := flag.Bool("d", false, "Daemon mode")
|
||||||
flDebug := flag.Bool("D", false, "Debug mode")
|
flDebug := flag.Bool("D", false, "Debug mode")
|
||||||
bridgeName := flag.String("br", "", "")
|
bridgeName := flag.String("b", "", "Attach containers to a pre-existing network bridge")
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
if *bridgeName != "" {
|
if *bridgeName != "" {
|
||||||
docker.NetworkBridgeIface = *bridgeName
|
docker.NetworkBridgeIface = *bridgeName
|
||||||
|
|
Loading…
Reference in a new issue