我在物理 Windows7 上的 VirtualBox 中运行 CentOS。现在在 centOS 我有 Docker 我需要运行
docker-machine create --driver virtualbox host1
但我得到错误
Error with pre-create check: "VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path"
那么我需要在 CentOS 中再次安装 VirtualBox 吗?如果是,我该怎么做?
非常感谢
原文由 toto‘ 发布,翻译遵循 CC BY-SA 4.0 许可协议
是的,你是绝对正确的。您首先需要安装 VirtualBox。
您可以通过运行
yum install virtualbox
对于 CentOS 或sudo apt-get install virtualbox
用于 Ubuntu这样做然后运行你的代码,你会很高兴的