title: Docker swarm deploy fails with 'Pool overlaps with other one'
body: <p>I have a working docker container, that I can run successfully using its <code>docker-compose.yml</code> already.</p>
  <p>Now trying to switch to <code>docker swarm init</code>.</p>
  <p>Result: when I try to deploy to docker swarm, my container startup fail with <code>Pool overlaps with other one</code>. What could be the problem?</p>
  <pre><code>docker stack deploy -c docker-compose.yml docker-test
  </code></pre>
  <p>I'm not creating any networks myself, just relying on the docker defaults:</p>
  <pre><code>#installed networks by docker + docker-compose + docker swarm
  
  $docker network ls
  NETWORK ID     NAME                   DRIVER    SCOPE
  4d523758a775   bridge                 bridge    local
  ac8774f0119e   docker_gwbridge        bridge    local
  ea0ehx9k5kxu   docker-test_default    overlay   swarm
  12a2cf29c55b   host                   host      local
  tbshoxat5bdg   ingress                overlay   swarm
  01aff819ac80   none                   null      local
  
  $ docker stack ls
  NAME           SERVICES   ORCHESTRATOR
  docker-test    1          Swarm
  
  $docker stack ps docker-test
  ID             NAME                            IMAGE                                 NODE   DESIRED STATE   CURRENT STATE             ERROR                              PORTS
  43q3xo0y5smv   test-docker_test-docker.1       docker-repo:5000/test-docker:latest   dev    Shutdown        Rejected 10 minutes ago   &quot;Pool overlaps with other one …&quot;   
  x158nyonghbt    \_ test-docker_test-docker.1   docker-repo:5000/test-docker:latest   dev    Shutdown        Rejected 11 minutes ago   &quot;Pool overlaps with other one …&quot;   
  4hsis6wslfl1    \_ test-docker_test-docker.1   docker-repo:5000/test-docker:latest   dev    Shutdown        Rejected 11 minutes ago   &quot;Pool overlaps with other one …&quot;   
  50y8rspynoxu    \_ test-docker_test-docker.1   docker-repo:5000/test-docker:latest   dev    Shutdown        Rejected 11 minutes ago   &quot;Pool overlaps with other one …&quot;   
  </code></pre>
  <p><code>docker-compose.yml</code>:</p>
  <pre><code>version: '3.7'
  services:
    docker-test:
      image: docker-repo:5000/docker-test:latest
      deploy:
        replicas: 1
        update_config:
          order: start-first
          failure_action: rollback
          delay: 10s
  </code></pre>
  <p>Logs:</p>
  <pre><code>$journalctl -fu docker.service
  -- Logs begin at Sun 2022-01-16 17:20:01 CET. --
  Apr 05 14:16:34 dev dockerd[416253]: time=&quot;2022-04-05T14:16:34.484292037+02:00&quot; level=info msg=&quot;initialized VXLAN UDP port to 4789 &quot;
  Apr 05 14:16:34 dev dockerd[416253]: time=&quot;2022-04-05T14:16:34.588014714+02:00&quot; level=error msg=&quot;fatal task error&quot; error=&quot;Pool overlaps with other one on this address space&quot; module=node/agent/taskmanager node.id=ak88o55xp7uk1bqsocd0ieb1y service.id=8i6n17sognrtvqopzarfdmd17 task.id=x158nyonghbtpalbtlv5nycmr
  </code></pre>