Error with pre-create check: "VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path"
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
It's an issue with permissions. You've installed docker as sudo. You need to run
sudo docker-machine create --driver virtualbox host1
OR
sudo docker-compose up
to get around this.
Being more specific about install VirtualBox on Mac Mojavi.
After downloading the VirtualBox-6.0.6-130049-OSX.dmg, double-click to install
Go to your applications folder and you will find the virtualbox.pkg like this:
Click on it to complete the installation.
After install is complete, you should see VirtualBox in the applications folder like this:
Afterwards you should refresh your terminal and rerun your command.
docker-machine create --driver virtualbox local-docker.