Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 53b0f68

Browse files
committed
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 <[email protected]>
1 parent 508065a commit 53b0f68

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

builder/internals.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,6 @@ func (b *Builder) create() (*daemon.Container, error) {
569569
CgroupParent: b.cgroupParent,
570570
Memory: b.memory,
571571
MemorySwap: b.memorySwap,
572-
NetworkMode: "bridge",
573572
}
574573

575574
config := *b.Config

0 commit comments

Comments
 (0)