预创build检查错误:“找不到VBoxManage。 确保安装了VirtualBox并且VBoxManage在path“

我在物理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。

你可以通过运行sudo apt-get install virtualbox

这样做,然后运行你的代码,你会很好去