How to install docker-machine
Install according to the procedure described at https://github.com/docker/machine/releases/.
The latest version v0.16.2 as of October 10, 2020 can be downloaded from the following. https://github.com/docker/machine/releases/tag/v0.16.2
The above site describes the Linux installation procedure as follows, so you can just execute it.
$ curl -L https://github.com/docker/machine/releases/download/v0.16.2/docker-machine-`uname -s`-`uname -m` >/tmp/docker-machine &&
chmod +x /tmp/docker-machine &&
sudo cp /tmp/docker-machine /usr/local/bin/docker-machine
In terms of processing content, curl
gets the binary of docker-machine
to / tmp
, gives execute permission, and then copies it to / usr / local / bin / docker-machine
. ..
If you want to copy it to / usr / bin / docker-machine
, you can do as follows.
$ curl -L https://github.com/docker/machine/releases/download/v0.16.2/docker-machine-`uname -s`-`uname -m` >/tmp/docker-machine &&
chmod +x /usr/bin/docker-machine &&
sudo cp /tmp/docker-machine /usr/bin/docker-machine
The processing of uname -s
and uname -m
automatically determines the URL of docker to download because it differs depending on the CPU and OS.
doing. On the contrary, when downloading on a machine different from the installation machine, you can download and copy what you need.
https://github.com/docker/machine/releases/download/v0.16.2/docker-machine-Darwin-x86_64 https://github.com/docker/machine/releases/download/v0.16.2/docker-machine-Linux-aarch64 https://github.com/docker/machine/releases/download/v0.16.2/docker-machine-Linux-armhf https://github.com/docker/machine/releases/download/v0.16.2/docker-machine-Linux-x86_64 https://github.com/docker/machine/releases/download/v0.16.2/docker-machine-Windows-i386.exe https://github.com/docker/machine/releases/download/v0.16.2/docker-machine-Windows-x86_64.exe
Recommended Posts