Last active
April 5, 2017 11:01
-
-
Save abhinavkorpal/fb500fb13389091aaac1a5a13129848c to your computer and use it in GitHub Desktop.
Docker Swarm Consul
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
| docker run --restart=unless-stopped -d -h consul1 --name consul1 -v /mnt:/data \ | |
| consul members | |
| docker run --restart=unless-stopped -h mgr1 --name mgr1 -d -p 3375:2375 swarm manage --replications advertise 10.0.1.5:3375 consul://10.0.1.5:8500/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment