grdnrio
11/9/2017 - 3:10 PM

Deploy visualizer as a service

docker service create \
  --name=visualizer \
  --publish=30015:8080 \
  --network ucp-hrm \
  --label com.docker.ucp.mesh.http.30015=external_route=http://viz.joeg.dtcntr.net,internal_port=8080 \
  --constraint=node.role==manager \
  --mount=type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock \
  dockersamples/visualizer