Skip to content

Instantly share code, notes, and snippets.

@rac021
Created January 28, 2019 17:55
Show Gist options
  • Save rac021/9966ac06e8ca277195add4d27feb89ee to your computer and use it in GitHub Desktop.
Save rac021/9966ac06e8ca277195add4d27feb89ee to your computer and use it in GitHub Desktop.
Install_Play_With_Docker
git clone https://github.com/franela/play-with-docker
cd play-with-docker/
docker pull franela/dind
sudo apt install golang-go
export GOPATH=$HOME/.go
go get -v -d -t ./...
docker-compose up
----
Head over to http://localhost and you can start clicking "Add New Instance"
Let's try to deploy a stack onto it now:
Create an instance, you'll get a shell, then on it run:
docker swarm init --advertise-addr eth0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment