Just additional information with steps to the main answer:
1) To install the docker machine , you need to write this as @coturiv above:
$ curl -L https://github.com/docker/machine/releases/download/v0.16.1/docker-machine-'uname -s'-'uname -m' >/tmp/docker-machine && chmod +x /tmp/docker-machine && sudo cp /tmp/docker-machine /usr/local/bin/docker-machine
2) If you get an error after running the docker-machine create :
Error creating machine: Error with pre-create check: VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path
make sure you also installed virtualbox :
sudo apt-get install virtualbox
3) If you get an error again, for example:
This computer does not have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory
try running the docker-machine create using --virtualbox-no-vtx-check , for example:
docker-machine create default
source share