Created
January 17, 2019 20:57
-
-
Save alexandreprates/a615f57f98eb44ec619e2ff39478cccf to your computer and use it in GitHub Desktop.
Change Docker default network to 192.168.1.5/24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat <<EOS > /etc/docker/daemon.json | |
{ | |
"bip": "192.168.1.5/24", | |
"fixed-cidr": "192.168.1.5/25", | |
"fixed-cidr-v6": "2001:db8::/64", | |
"mtu": 1500 | |
} | |
EOS | |
systemctl restart docker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment