Like me I expect you to have a Linux machine running atop VMbox that may inturn running on either Win10 or Mac.
This also means that you have a linux machine already and all your docker commands are fired from a linux machine.
Which gets me to the straight point - no need for docker-machine
commands
Im using Anteregos(Arch) with Gnome desktop
yaourt docker
choose to install all
docker, docker-compose docker-machine
This would install docker and next woudl be to check if the version of docker is alright
$ docker version
$ docker info
But this is what you get as an error ?
“Cannot connect to the Docker daemon” when the daemon is running?
Basically for the docker machine to be started as daemon you need yourself to be added to the group "docker"
usermod -aG docker kneerunjun
Restart the machine and then try to fire docker version
command
things now should be working fine