Expected behavior
I create docker swarm cluster using ubuntu (vm #1) as swarm master, and successful join another ubuntu (vm #2) as swarm worker.
Then I setup windows server 2016 (vm #3) with docker engine cs, using docker swarm join command, try to join the exist swarm cluster.
Actual behavior
Fail to join. I got error message:
docker swarm join --token SWMTKN-1-09m67pih477eb34gjhgu5bujs4838glprmr72vqy1rtxlgwl0j-cl7e46pqy4t9o5141cfj9vlnj 192.168.100.89:2377
Error response from daemon: listen unix C:\ProgramData\docker\swarm\control.sock: socket: An address incompatible with the requested protocol was used.
Information
vm #1, #2
OS: Ubuntu 15.10
Docker Engine:
Version: 1.12.1
API version: 1.24
Go version: go1.6.3
Git commit: 23cf638
Built: Thu Aug 18 05:28:14 2016
OS/Arch: linux/amd64
vm #3
OS: Windows Server 2016 Standard (ver: 10.0.14393)
Docker Engine:
Version: 1.12.2-cs2-ws-beta
API version: 1.25
Go version: go1.7.1
Git commit: 050b611
Built: Tue Oct 11 02:35:40 2016
OS/Arch: windows/amd64
Steps to reproduce the behavior
- (vm #1) create swarm cluster:
sudo docker swarm init
- (vm #2) join linux node to cluster (success)
sudo docker swarm join --token SWMTKN-1-09m67pih477eb34gjhgu5bujs4838glprmr72vqy1rtxlgwl0j-cl7e46pqy4t9o5141cfj9vlnj 192.168.100.89:2377
- (vm #3) join windows node to cluster (fail)
docker swarm join --token SWMTKN-1-09m67pih477eb34gjhgu5bujs4838glprmr72vqy1rtxlgwl0j-cl7e46pqy4t9o5141cfj9vlnj 192.168.100.89:2377
Error response from daemon: listen unix C:\ProgramData\docker\swarm\control.sock: socket: An address incompatible with the requested protocol was used.
- (vm #1) list all nodes in cluster (fail node was found in list)
sudo docker node ls
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS
50wz2lboq1tr4pan4jdeyrid9 **Unknown** Active
7zg0z3fwt9wtsae9j15dv1b61 ubuntu Ready Active
9zzzfqe4ztzaludjd7qkcolr4 * ubuntu Ready Active Leader
the Unknown node is vm #3, fail node that can not join to the cluster.