Created
January 28, 2019 17:55
-
-
Save rac021/9966ac06e8ca277195add4d27feb89ee to your computer and use it in GitHub Desktop.
Install_Play_With_Docker
This file contains hidden or 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
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