none
Docker Swarm on Windows 2019 overlay network routing not working RRS feed

  • General discussion

  • I am trying to run swarm service from docker compose using this command

    docker stack deploy --with-registry-auth --compose-file docker-compose.yml
    services:
      log-server:
        image: foo.bar/log-server:1.0.0-67
        environment:
          graylog.enable: 'false'
        ports:
          - target: 2222
            published: 2222
            protocol: tcp
            mode: host
        deploy:
          mode: global
          endpoint_mode: dnsrr

    My problem is that I cannot connect to either localhost:2222, which I would not expect to work but also to hostname:2222.

    My docker and OS version below:

    Docker version 19.03.5
    Windows Server 2019 Standard 1809 17763.1039

    This issue came up with latest February windows update.

    I tried this same thing - only thing that was changed is OS version to Windows Server 2019 Standard 1809 17763.107 and it works as expected and I can access hostname:2222.




    • Edited by zamestnanec Monday, February 24, 2020 10:58 AM
    Monday, February 24, 2020 9:23 AM

All replies

  • Hello I have encoutered exactly the same problem in our swarm stack. Is there any way to make it work on new security patch?

    Monday, February 24, 2020 1:47 PM