docker-socket-proxy icon indicating copy to clipboard operation
docker-socket-proxy copied to clipboard

Docs on Swarm need to point out it must be deployed on manager nodes

Open dukedorje opened this issue 3 years ago • 0 comments
trafficstars

In Docker Swarm, the docker socket only exists on manager nodes, so this was failing sporadically for me without much explanation until I realized it was whenever the proxy was deployed to a worker node. Here are the constraints required in docker compose format:

 deploy:
      mode: global
      placement:
        constraints:
          - node.role == manager

dukedorje avatar Apr 20 '22 22:04 dukedorje