Created
January 5, 2019 11:30
-
-
Save mlabouardy/8b3b906c7ba4456b9f5881bfecce7be6 to your computer and use it in GitHub Desktop.
Deploy visualizer in swarm
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 service create --name=visualizer --publish=8080:8080/tcp \ | |
| --constraint=node.role==manager --mount=type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock \ | |
| dockersamples/visualizer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment