Explorar el Código

The flag to use a pre-existing bridge interface is '-b'. Added explanation

Solomon Hykes hace 12 años
padre
commit
22adb52c0a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      docker/docker.go

+ 1 - 1
docker/docker.go

@@ -22,7 +22,7 @@ func main() {
 	// FIXME: Switch d and D ? (to be more sshd like)
 	flDaemon := flag.Bool("d", false, "Daemon 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()
 	if *bridgeName != "" {
 		docker.NetworkBridgeIface = *bridgeName