Provided commands to install Docker Machine on Linux don't work
https://docs.docker.com/machine/install-machine/
I could not install docker-machine on Linux, but it could by following.
$ curl -L https://github.com/docker/machine/releases/download/v0.8.2/docker-machine-`uname -s`-`uname -m` -o /usr/local/bin/docker-machine && \
chmod +x /usr/local/bin/docker-machine
Can you paste the error and command you attempted please? Command looks fine to me. Thanks.
Failed
$ curl -L https://github.com/docker/machine/releases/download/v0.8.2/docker-machine-`uname -s`-`uname -m` > sudo /usr/local/bin/docker-machine && sudo chmod +x /usr/local/bin/docker-machine
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 600 0 600 0 0 676 0 --:--:-- --:--:-- --:--:-- 676
100 23.4M 100 23.4M 0 0 2681k 0 0:00:08 0:00:08 --:--:-- 5315k
curl: (3) <url> malformed
Successed
$ sudo curl -L https://github.com/docker/machine/releases/download/v0.8.2/docker-machine-`uname -s`-`uname -m` -o /usr/local/bin/docker-machine
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 600 0 600 0 0 704 0 --:--:-- --:--:-- --:--:-- 704
100 23.4M 100 23.4M 0 0 2926k 0 0:00:08 0:00:08 --:--:-- 5109k
$ sudo chmod +x /usr/local/bin/docker-machine
curl -L https://github.com/docker/machine/releases/download/v0.8.2/docker-machine-uname -s-uname -m> sudo /usr/local/bin/docker-machine && sudo chmod +x /usr/local/bin/docker-machine is defintely wrong (looks like you redirect using > to sudo ... ... not sure what's going on there ... I think there is an issue with the copy-paste install on Linux generally though.
yeah this is what i was referring to :
$ curl -L https://github.com/docker/machine/releases/download/v0.9.0-rc2/docker-machine-`uname -s`-`uname -m` >/usr/local/bin/docker-machine && \
> chmod +x /usr/local/bin/docker-machine
-bash: /usr/local/bin/docker-machine: Permission denied