title: Docker Swarm Mode Error: Joining Two Workers To One Manager
body: <p>I'm having difficulty setting up a Docker Swarm with two workers and one manager. Everything works fine until I add the second worker. After adding the second worker, the first worker's daemon enters some sort of error state where a simple <code>docker version</code> yields </p>
  
  <p><a href="https://i.stack.imgur.com/dGYI8.png" rel="noreferrer"><img src="https://i.stack.imgur.com/dGYI8.png" alt="enter image description here"></a></p>
  
  <p>Also, I am using a Stack YAML to start three Redis services.</p>
  
  <p><strong>Stack.yaml</strong></p>
  
  <pre><code>version: '3.4'
  
  services:
    redis-master:
      image: 'bitnami/redis:5.0.2'
      ports:
        - '6379:6379'
      environment:
        - REDIS_REPLICATION_MODE=master 
        - REDIS_PASSWORD=f7paul12-d571-4701-9c55-64vanacecDyK
      deploy:
        mode: global
        restart_policy:
          condition: any
      volumes: 
        - 'redis:/opt/bitnami/redis/etc/'
  
    redis-replica:
      image: 'bitnami/redis:5.0.2'
      ports:
        - '6379'
      depends_on:
        - redis-master
      environment:
        - REDIS_REPLICATION_MODE=slave
        - REDIS_MASTER_HOST=redis-master
        - REDIS_MASTER_PORT_NUMBER=6379
        - REDIS_MASTER_PASSWORD=f7paul12-d571-4701-9c55-64vanacecDyK
        - REDIS_PASSWORD=f7paul12-d571-4701-9c55-64vanacecDyK
      deploy:
        mode: replicated
        replicas: 6
        update_config:
          parallelism: 1
          delay: 20s
        restart_policy:
          condition: any
  
    redis-sentinel:
      image: 'bitnami/redis:5.0.2'
      ports:
        - '16379'
      depends_on:
        - redis-master
        - redis-replica
      entrypoint: |
        bash -c 'bash -s &lt;&lt;EOF
        "/bin/bash" -c "cat &lt;&lt;EOF &gt; /opt/bitnami/redis/etc/sentinel.conf
        port 16379
        dir /tmp
        sentinel monitor master-node redis-master 6379 2
        sentinel down-after-milliseconds master-node 5000
        sentinel parallel-syncs master-node 1
        sentinel failover-timeout master-node 5000
        sentinel auth-pass master-node f7paul12-d571-4701-9c55-64vanacecDyK
        sentinel announce-ip redis-sentinel
        sentinel announce-port 16379
        EOF"     
        "/bin/bash" -c "redis-sentinel /opt/bitnami/redis/etc/sentinel.conf"    
        EOF'
      deploy:
        mode: global
        restart_policy:
          condition: any
  volumes:
    redis:
      driver: external
      driver_opts:
        type: 'none'
        o: 'bind'
        device: '/c/redis/'
  </code></pre>
  
  <p>I am running Docker CE 18.09.0 on Windows Server 2016 (the EE had the same problem) Also, all of my worker nodes are on the Windows platform, using Linux containers. (My manager node is the same, but uses Windows containers because of <a href="https://github.com/docker/for-win/issues/3031" rel="noreferrer">issue #3031</a>)</p>
  
  <p>Is setting up a mutinode swarm even supported in exclusive Windows environments? How can this cluster be set up using the environment listed above? </p>