FreeKB - Docker docker swarm init command
Docker - docker swarm init command

This assumes you have installed Docker on Linux and the Docker is running. The docker swarm init command is used to initialize Docker Swarm.

docker swarm init


The docker swarm init command should return the following output.

Swarm initialized: current node (i9m11i1q147k8x09khye6ip8b) is now a manager.

 To add a worker to this swarm, run the following command:

     docker swarm join \
     --token SWMTKN-1-61s10q7nisntaqdqj13z9sjutvvew2kpfc3wpc50zqtr9bhj5k-6ppeqc2x9gt1sf6hi80b9wch5 \

 To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions.


Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter 7d0bf in the box below so that we can be sure you are a human.


Web design by yours truely - me, myself, and I   |   |