mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-04 20:51:44 +00:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user