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
| cd cloud-provisioning | |
| scripts/dm-swarm.sh | |
| eval $(docker-machine env swarm-1) | |
| docker node ls | |
| scripts/dm-test-swarm.sh |
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/vfarcic/go-demo.git | |
| cd go-demo | |
| docker-machine create -d virtualbox go-demo | |
| docker-machine env go-demo | |
| eval $(docker-machine env go-demo) |
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
| for i in 1 2 3; do | |
| docker-machine create -d virtualbox node-$i | |
| done | |
| eval $(docker-machine env node-1) | |
| docker swarm init \ | |
| --advertise-addr $(docker-machine ip node-1) | |
| docker swarm join-token -q manager |
NewerOlder