Deploying docker swarm without using docker machine

心不动则不痛 提交于 2019-12-06 19:24:01

问题


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?


回答1:


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




回答2:


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).



来源:https://stackoverflow.com/questions/34668471/deploying-docker-swarm-without-using-docker-machine

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!