I have created container environment in Azure. However, while running docker node ls
, it is only showing LEADER node. but not showing agent node here.
Please help.
Thanks
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.
Sign up to join this communityWhen you run the command to create a swarm, the Docker Engine starts running in swarm mode.
Run docker swarm init
to create a single-node swarm on the current node. The Engine sets up the swarm as follows:
default
.Active
availability, meaning it can receive tasks from the scheduler.ingress
for publishing service ports external to the swarm.docker swarm init
provides the connection command to use when you join new worker nodes to the swarm:Reference: https://docs.docker.com/engine/swarm/swarm-mode/#create-a-swarm
For more information see Join a worker node
Once a worker node has joined the swarm docker docker node ls
should give you the list of nodes joined to the swarm. [Reference]