Created
December 1, 2016 21:46
-
-
Save mlaflamm/5fc398ec5f595f1acb455b7b04f25a41 to your computer and use it in GitHub Desktop.
Changing Docker's IP Address (Ubuntu 14.04)
This file contains 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
sudo vim /etc/default/docker | |
#Change #DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4" to DOCKER_OPTS="--bip="192.168.200.1/24" | |
sudo stop docker | |
#sudo apt-get install bridge-utils | |
sudo ip link set dev docker0 down | |
sudo brctl delbr docker0 | |
sudo star docker | |
#ifconfig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment