不使用docker机器部署docker swarm

问题描述:

当前,我在 RackSpace 上运行了一堆 RHEL7 VM ,并希望部署docker swarm进行测试。 Docker 文档仅描述了使用docker机器部署docker swarm的方法。

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.

问题:
由于 VirtualBox 不能在VM中使用,因此还有其他方法可以使我无需使用docker机器直接在我的VM上部署docker swarm?

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?

事实上Docker文档为您提供了如何在不使用docker-machine的情况下手动设置群集集群:创建群集进行开发

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