Cannot create a virtualbox using docker-machine

November 10, 2018 1.4k views
Docker Ubuntu 18.04

I try to create a virtualbox using docker machine:

sudo docker-machine create --driver virtualbox default

and get this error:

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

VirtualBox is installed and I use it often.

> which VirtualBox

PATH variable contains /usr/bin

I have reinstalled both VirtualBox and Docker several times but it did not help.

Be the first one to answer this question.