Created
January 21, 2016 03:44
-
-
Save heme/f5495456a5f629157d90 to your computer and use it in GitHub Desktop.
Sticky IP for docker machines
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
echo "kill `more /var/run/udhcpc.eth1.pid`\nifconfig eth1 192.168.99.101 netmask 255.255.255.0 broadcast 192.168.99.255 up" | docker-machine ssh MACHINE_NAME sudo tee /var/lib/boot2docker/bootsync.sh > /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment