Skip to main content
primu1234

12 months ago

Docker certified Associate Prep course

user_355098_5bd16ac1e0ca9.PNGI was trying to create my worker nodes using docker swarm join-worker --token with a given token but it doesn't work. Please help me.

Image of
12 months ago
Be sure you are using the private IP address, the ports necessary for registration and management are not available publicly. Looks like you used the public IP in your init command, so the token was generated with the public IP of the server. 

As we do in the course, you can initialize with the IP you want with the --advertise-addr option to the 'docker swarm init' command.