Can't run docker-machine create, VBoxManage not found

Short answer. Don't use the snap. I reinstalled everything using the official tutorial and it works now.


I have the same question. but my OS is Linux Mint 19.

I to do this solution solve my question

update docker-machine to version 0.16.0, build 702c267f .

reference

VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path

Install Docker Machine


Make sure your user is in the docker group. Otherwise you run docker as root and vbox as user and they can't see each other. Telltale sign that you're not in the group is that you have to sudo docker commands, e.g.:

sudo docker images

To fix, do:

sudo groupadd docker
sudo gpasswd -a <your-username> docker

Now check that user is added:

getent group docker

or:

grep /etc/group -e "docker"

Also restart docker daemon:

sudo service docker restart 

Log out and back into terminal (try restarting system if this does not work), and you should be able to run docker without sudo, e.g.:

docker images

docker machine and docker-compose should now run, too.

Fore more information, refer to this answer: https://stackoverflow.com/questions/29101043/cant-connect-to-docker-from-docker-compose