Explorar o código

Removed the default "bridge" in builder

Now that the default network mode is "default" and this mode is chosen
even if the mode is empty string, it is not correct to have builder
still pointing to "bridge" as default (though this is daemon default).

Signed-off-by: Madhu Venugopal <madhu@docker.com>
Madhu Venugopal %!s(int64=10) %!d(string=hai) anos
pai
achega
53b0f686f7
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      builder/internals.go

+ 0 - 1
builder/internals.go

@@ -569,7 +569,6 @@ func (b *Builder) create() (*daemon.Container, error) {
 		CgroupParent: b.cgroupParent,
 		Memory:       b.memory,
 		MemorySwap:   b.memorySwap,
-		NetworkMode:  "bridge",
 	}
 
 	config := *b.Config