<p>your token is wrong.</p>

<p>you can get worker token in the manager node:</p>

<pre><code>docker swarm join-token -q worker
</code></pre>

<p>it works for me.</p>

<p><a href="https://docs.docker.com/engine/reference/commandline/swarm_join/" rel="nofollow noreferrer">https://docs.docker.com/engine/reference/commandline/swarm_join/</a></p>

CC BY-SA 4.0
2018-08-13T10:02:16.063Z
2018-08-13T10:02:16.063Z
tao huang
<p>If you configured and joined correctly you should see two hosts: one for Linux and one for Windows.</p>

<p><em>Windows hosts cannot natively run inside the Linux hosts and vice-versa</em>. This means you have to have different kernels for Linux hosts and Windows hosts in the same swarm. This way they can communicate across the same Docker network.</p>

<p>Refer to <a href="https://msdn.microsoft.com/en-us/virtualization/windowscontainers/docker/configure_docker_daemon" rel="nofollow noreferrer">Docker Engine on Windows</a> for more info.</p>

CC BY-SA 3.0
2017-11-04T06:08:01.327Z
2017-11-15T21:05:20.550Z
2017-11-15T21:05:20.550Z
jtillman
<p><strong>Start docker swarm :</strong>
docker swarm init --advertise-addr MANAGER-IP</p>

<p><strong>Join docker swarm:</strong>
docker swarm join --token  MANAGER-IP:2377</p>

<p>I am using Windows 10,
it is working fine with Windows container mode, but gives below error in Linux container mode.</p>

<p><strong>Error:</strong></p>

<p>Error response from daemon: remote CA does not match fingerprint. Expected: 91030413f17ec7c023a2a796ee05a024915080ca8dfd646a597c7e966f667df6</p>

<p><strong>Docker swarm manager command: docker node ls</strong></p>

<pre><code>ID                            HOSTNAME            STATUS              AVAILABILITY        MANAGER STATUS
2zf1l2o7sl2a1qka55s2vi77x *   moby                Ready               Active              Leader
</code></pre>

<p>Host name is <strong>moby</strong>, when running in Windows container mode it gives machine host correctly.</p>

<docker><containers><docker-swarm>
Docker swarm join linux container Error - remote CA does not match fingerprint
Nitul
# Docker swarm join linux container Error - remote CA does not match fingerprint

(Asked by: username_0 on 2017-11-03)

Start docker swarm :
docker swarm init --advertise-addr MANAGER-IP
Join docker swarm:
docker swarm join --token  MANAGER-IP:2377
I am using Windows 10,
it is working fine with Windows container mode, but gives below error in Linux container mode.
Error:
Error response from daemon: remote CA does not match fingerprint. Expected: 91030413f17ec7c023a2a796ee05a024915080ca8dfd646a597c7e966f667df6
Docker swarm manager command: docker node ls
ID                            HOSTNAME            STATUS              AVAILABILITY        MANAGER STATUS
2zf1l2o7sl2a1qka55s2vi77x *   moby                Ready               Active              Leader

Host name is moby, when running in Windows container mode it gives machine host correctly.

**Tags:** docker, containers, docker-swarm


---

## 2 answers

### Answer by username_2 on 2017-11-04. Score: 3 | Accepted answer

If you configured and joined correctly you should see two hosts: one for Linux and one for Windows.

*Windows hosts cannot natively run inside the Linux hosts and vice-versa*. This means you have to have different kernels for Linux hosts and Windows hosts in the same swarm. This way they can communicate across the same Docker network.

Refer to [Docker Engine on Windows](https://msdn.microsoft.com/en-us/virtualization/windowscontainers/docker/configure_docker_daemon) for more info.


---

### Answer by username_1 on 2018-08-13. Score: 1

your token is wrong.
you can get worker token in the manager node:
docker swarm join-token -q worker

it works for me.
https://docs.docker.com/engine/reference/commandline/swarm_join/


---

