Skip to content

Instantly share code, notes, and snippets.

@mlaflamm
Created December 1, 2016 21:46
Show Gist options
  • Save mlaflamm/5fc398ec5f595f1acb455b7b04f25a41 to your computer and use it in GitHub Desktop.
Save mlaflamm/5fc398ec5f595f1acb455b7b04f25a41 to your computer and use it in GitHub Desktop.
Changing Docker's IP Address (Ubuntu 14.04)
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