我在物理 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 吗?如果是,我该怎么做?
非常感谢
最佳答案
是的,你完全正确。你需要先安装 VirtualBox。
你可以通过运行 yum install virtualbox
for CentOS 或
sudo apt-get install virtualbox
for Ubuntu
这样做,然后运行您的代码,一切顺利
关于docker - 预创建检查错误 : "VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45836296/