Deploying docker swarm without using docker machin

2020-08-13 05:37发布

Currently I have a bunch of RHEL7 VMs running on RackSpace and want to deploy docker swarm for testing purpose. The Docker Docs only describes the method to deploy docker swarm by using docker machine.

Question: Since VirtualBox cannot be used in VMs, are any other ways such that I can directly deploy docker swarm on my VMs without using docker machine?

2条回答
Bombasti
2楼-- · 2020-08-13 05:46

In fact Docker documentation offers you how to set up a swarm cluster 'manually' without using docker-machine: Create a swarm for development

查看更多
冷血范
3楼-- · 2020-08-13 05:52

I think that this full step-by-step tutorial might be useful.

It details how to deploy Swarm with a multi-hosts network, without Docker-machine by using consul and suggest two different means for the Swarm agent discovery (static file and token).

查看更多
登录 后发表回答