Issue:-
Unable to deploy the visualizer service in the Docker Swarm
Error:-
Error response from daemon: invalid MountType: "=bind"
Effect:-
# 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
Resolution:-
# 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
Explanation:-
You need to use the =bind and not ==bind to solve the problem
0 comments:
Post a Comment