-
Notifications
You must be signed in to change notification settings - Fork 2
Connect Multiple Edge Nodes At Same Network
Anselmo Battisti edited this page Mar 23, 2020
·
5 revisions
To connect all the edge nodes inside the same network you will need to follow this instructions.
1 - Inside the machine that runs ALFA execute
docker swarm init
2 - Copy the join command and run it inside each Edge Node that will run your VMS
docker swarm join --token SWMTKN-1-2keeu7dw10oe4ou8wehslivxg3fmj692q32h9md4fquzatj3y3-2vxcjib0z1cbgktked6ynkjvu 192.168.0.104:2377
3 - Create a network using overlay driver (-d is the driver type)
docker network create -d overlay swarm_network
docker run --network alfa_swarm_network -it --rm alpine /bin/ash