31. Docker Swarm Setup

Опубликовано: 13 Октябрь 2024
на канале: iMustLearn
70
0

##Docker Swarm Set up :
1. Configure Swarm Manager.
2. Add worker node to Swarm manager.

##Configure Swarm Manager:
Install Docker CE. (Chapter 1).
docker info | grep S warm

docker swarm init advertise addr Node Private IP
docker info | grep Swarm

docker node ls

##Add worker Node to Swarm Manager:
Install Docker CE. (Chapter 1

docker swarm join token worker (On Swarm Manager)

Copy and run the swarm join token output (On Worker Node

docker node ls (On Swarm Manager

Reference Doc:
https://docs.docker.com/engine/swarm/... tutorial/create-swarm
https://docs.docker.com/engine/swarm/... tutorial/add nodes/