Skip to content

Instantly share code, notes, and snippets.

@ivankravchenko
Last active August 29, 2015 14:00
Show Gist options
  • Save ivankravchenko/11169976 to your computer and use it in GitHub Desktop.
Save ivankravchenko/11169976 to your computer and use it in GitHub Desktop.
install new flynn
# 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