1
0
Fork 0
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:
Solomon Hykes 2013-04-05 14:16:04 -07:00
parent 793c1ad990
commit 22adb52c0a

View file

@ -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