Error with pre-create check: "VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path"

toto' picture toto' · Aug 23, 2017 · Viewed 40.4k times · Source

i run CentOS in VirtualBox on physical Windows7. Now in centOS i have Docker and i need to run

docker-machine create --driver virtualbox host1

but i get error

Error with pre-create check: "VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path"

so do i need to install VirtualBox once again and in the CentOS? If yes, how can i do that?

thanks lot

Answer

Ernest picture Ernest · Sep 5, 2017

Yes you are absolutely correct. You need to install VirtualBox first of all.

You can do it by running yum install virtualbox for CentOS or

sudo apt-get install virtualbox for Ubuntu

Do so and then run your code and you will be good to go