Deploying Docker on CentOS7
After installing docker on fleet:
$ docker swarm init --advertise-addr [main IP]
Make a registry if using a local one:
$ docker service create --name registry --publish published=5000,target=5000 registry:2
Add the visualizer:
docker service create \
--name=viz \
--publish=8080:8080/tcp \
--constraint=node.role==manager \
--mount=type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock \
dockersamples/visualizer
- CentOS7
registry_ip: Set this to the IP of the main docker server
GPLv3