Skip to content

Commit 110f093

Browse files
carmstrongMatthew Fisher
authored andcommitted
bug(docker): bind docker bridge to a specific IP
Docker chooses an unused IP range for its network bridge, but more than once we have seen this conflict with the Vagrant bridge, which is presumably created after the Docker bridge. This commit uses a specific CIDR for the Docker bridge, which does not conflict with the Vagrant IP. fixes #702
1 parent 4029205 commit 110f093

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

contrib/coreos/user-data

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ coreos:
1515
ExecStartPre=/bin/mount --make-rprivate /
1616
# Run docker but don't have docker automatically restart
1717
# containers. This is a job for systemd and unit files.
18-
ExecStart=/usr/bin/docker -d -s=btrfs -r=false -H fd://
18+
ExecStart=/usr/bin/docker -d -s=btrfs --bip=10.212.0.0/16 -r=false -H fd://
1919

2020
[Install]
2121
WantedBy=multi-user.target

0 commit comments

Comments
 (0)