简体   繁体   English

在不使用docker机器的情况下部署docker swarm

[英]Deploying docker swarm without using docker machine

Currently I have a bunch of RHEL7 VMs running on RackSpace and want to deploy docker swarm for testing purpose. 目前我在RackSpace运行了一堆RHEL7 VMs ,并希望部署RHEL7 VMs swarm用于测试目的。 The Docker Docs only describes the method to deploy docker swarm by using docker machine. Docker Docs仅描述了使用docker机器部署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? 问:由于VirtualBox不能在虚拟机中使用,是否有其他方式可以直接在我的虚拟机上部署docker swarm而无需使用docker机器?

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

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). 它详细介绍了如何使用consul部署Swarm与多主机网络,没有Docker-machine,并为Swarm代理发现提供了两种不同的方法(静态文件和令牌)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM