Error with preliminary check: "VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is on the way"

I am running CentOS on VirtualBox on a physical Windows7. Now in centOS I have Docker and I need to run

docker-machine create --driver virtualbox host1 

but i get an 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 again on CentOS? If so, how can I do this?

thanks a lot

+20
source share
6 answers

Yes, you are absolutely right. You need to install VirtualBox first.

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

sudo apt-get install virtualbox for Ubuntu

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

+14
source

More specifically about installing VirtualBox on a Mojavi Mac.

  1. After downloading VirtualBox-6.0.6-130049-OSX.dmg double-click to install

  2. Go to the application folder and you will find the virtualbox.pkg file as follows:

    virtualbox.pkg

  3. Click on it to complete the installation.

  4. After the installation is complete, you should see VirtualBox in the application folder as follows:

    virtual box after installation completes

  5. After that you should update your terminal and repeat the command.

     docker-machine create --driver virtualbox local-docker. 
+1
source

Question for Linux. But if for Mac OS you can use this link to download Virtual Box.

After loading Virtual Box, you can run the command again and it should work fine.

0
source

You just need to install the virtual box:

 sudo apt-get install virtualbox then run this command: docker-machine create --driver virtualbox default 
0
source

try running with superuser:

 sudo docker-machine create -d virtualbox myvm1 
0
source

1) Reinstall Virtualbox ... you can use this code: sudo apt-get install virtualbox

2) The sudo dock machine creates a default virtual box --driver

0
source

Source: https://habr.com/ru/post/1271144/


All Articles