Articles → DOCKER → Docker Swarm

Docker Swarm


Manager And Worker Nodes

Creation Of A Virtual Machine

Picture showing the 2 virtual machines created in Azure

Installation Of Docker

Create A Manager Node

docker swarm init --advertise-addr [private_ip_address_of_vm]

Picture showing initializing the manager node in swarm

Add A Worker Node

Picture showing adding a worker node

Check The Manager And The Worker Node

docker node ls

Picture showing the output of docker node ls

Docker Swarm Leave

docker swarm leave

Posted By  -  Karan Gupta
Posted On  -  Wednesday, December 27, 2023
Updated On  -  Tuesday, January 2, 2024


Your Email Id  
Query/FeedbackCharacters remaining 250