How to setup simple Docker Swarm Clustering with visual tools

xiaoxiao2021-02-28  29

How to setup simple Docker Swarm Clustering

1. Create 3 docker machines

docker-machine create -d virtualbox --engine-registry-mirror http://8ff28fe8.m.daocloud.io vm1 docker-machine create -d virtualbox --engine-registry-mirror http://8ff28fe8.m.daocloud.io vm2 docker-machine create -d virtualbox --engine-registry-mirror http://8ff28fe8.m.daocloud.io vm3

2. Enter vm1 and config it as manager

docker machine-ssh vm1 docker swarm init --advertise-addr 192.168.99.101

转载请注明原文地址: https://www.6miu.com/read-2150338.html

最新回复(0)