The instructions provided for installing docker-machine on Linux are way off for Ubuntu.
These are the incorrect instructions (found here):
$ curl -L https://github.com/docker/machine/releases/download/v0.7.0/docker-machine-`uname -s`-`uname -m` > /usr/local/bin/docker-machine && \
$ chmod +x /usr/local/bin/docker-machine
sudo
.docker-machine
file is empty after the install.After a few hours of hacking around I found this is what is needed for installing docker-machine on Ubuntu (at least for the version I am running Lubuntu (16.04 LTS / Xenial Xerus):
$ sudo wget -L https://github.com/docker/machine/releases/download/v0.8.0-rc1/docker-machine-`uname -s`-`uname -m`
$ sudo mv docker-machine-`uname -s`-`uname -m` /usr/local/bin/docker-machine
$ sudo chmod +x /usr/local/bin/docker-machine
To test it has installed:
$ docker-machine version