Last active
August 29, 2015 14:00
-
-
Save ivankravchenko/11169976 to your computer and use it in GitHub Desktop.
install new flynn
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
# server sshd must not be at port 22 | |
IP=$(ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{print $1}') | |
docker run -v=/var/run/docker.sock:/var/run/docker.sock -p=1113:1113 --name flynn-host -d flynn/host -external $IP | |
# give host time to initialize | |
sleep 10 | |
docker run -e=DISCOVERD=$IP:1111 flynn/bootstrap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment