Tweaking language Incorporate Olivier's comments Stomp the nit --- a misspelling Wrapping lines Possessive Signed-off-by: Mary Anthony <mary@docker.com>
2.6 KiB
Install Docker Machine
Docker Machine is supported on Windows, OS X, and Linux operating systems. You can install using one of Docker's automated installation methods or you can download and install via a binary. This page details each of those methods.
OS X and Windows
On OS X and Windows, Machine is installed along with other Docker products when you install the Docker Toolbox. For details on installing Docker Toolbox, see the Mac OS X installation instructions or Windows installation instructions.
If you only want Docker Machine, you can install the Machine binaries directly. Alternatively, OS X users have the option to follow the Linux installation instructions.
On Linux
To install on Linux, do the following:
-
Install Docker version 1.7.1 or greater:
-
Download the Machine binary to somewhere in your
PATH(for example,/usr/local/bin).$ curl -L https://github.com/docker/machine/releases/download/v0.4.0/docker-machine_linux-amd64 > /usr/local/bin/docker-machine -
Apply executable permissions to the binary:
$ chmod +x /usr/local/bin/docker-machine -
Check the installation by displaying the Machine version:
$ docker-machine -v machine version 0.4.0
Install from binary
The Docker Machine team compiles binaries for several platforms and architectures and makes them available from the Machine release page on Github. To install from a binary:
-
Download the binary you want.
-
Rename the binary to
docker-machine. -
Move the
docker-machinefile to an appropriate directory on your system.For example, on an OS X machine, you might move it to the
/usr/local/bindirectory. -
Ensure the file's executable permissions are correct.
-
Apply executable permissions to the binary:
$ chmod +x /usr/local/bin/docker-machine -
Check the installation by displaying the Machine version:
$ docker-machine -v machine version 0.4.0