The EASIEST Docker Swarm Tutorial

preview_player
Показать описание
This is by far the easiest way to initialize a docker swarm, I'll continue in the next video when we actually deploy to the swarm.

As I mentioned, I ran Ubuntu, to install docker you can just:

Then you can add your user to the docker group with:

sudo usermod -aG docker $USER

then you can run docker commands with your current user:

docker swarm init

then copy paste to the other nodes, and yes, it's that easy!
Рекомендации по теме
Комментарии
Автор

eso esta bien pero como se replica nos contenedores a los nodos? cada vez que lo hago me da error en los contenedores

rainex
Автор

How did you create the two nodes using swarm on one machine please 😢

tandapnoelbansikah
Автор

pero como se crean esos nodos que tienes ahi?

herigamer
Автор

you could have made it shorter by not talking . but thank you very simple.

pbpism