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
I ran into the same problem today, in a debian machine. I'm updated with the command I used since docker-machine
is now docker-compose
wget -L https://github.com/docker/compose/releases/download/1.13.0/docker-compose-`uname -s`-`uname -m`
sudo mv ./docker-compose-`uname -s`-`uname -m` /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With