Last active
February 8, 2016 16:30
-
-
Save huslage/8fc43087b3b5152e7253 to your computer and use it in GitHub Desktop.
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
MYIP=$(hostname -I | awk '{print $1}') | |
CONTROLLER=172.31.19.122 | |
sudo docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock --name ucp docker/ucp engine-discovery -i -D --host-address ${MYIP} --controller ${CONTROLLER} | |
sudo systemctl restart docker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment