docs/docs/install-machine.md

2.1 KiB

Install Docker Machine

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 (the latest versions of which are located at https://github.com/docker/machine/releases/) directly by following the instructions in the next section.

Installing Machine Directly

  1. Install the Docker binary.

  2. Download the archive containing the Docker Machine binaries and extract them to your PATH.

    Linux:

     $ curl -L https://github.com/docker/machine/releases/download/v0.5.0/docker-machine_linux-amd64.zip >machine.zip && \
     unzip machine.zip && \
     rm machine.zip && \
     mv docker-machine* /usr/local/bin
    

    OSX:

     $ curl -L https://github.com/docker/machine/releases/download/v0.5.0/docker-machine_darwin-amd64.zip >machine.zip && \
     unzip machine.zip && \
     rm machine.zip && \
     mv docker-machine* /usr/local/bin
    

    Windows (using Git Bash):

     $ curl -L https://github.com/docker/machine/releases/download/v0.5.0/docker-machine_windows-amd64.zip >machine.zip && \
     unzip machine.zip && \
     rm machine.zip && \
     mv docker-machine* /usr/local/bin
    
  3. Check the installation by displaying the Machine version:

     $ docker-machine -v
     machine version 0.5.0 (3e06852)
    

Where to go next