From 9d4ba57ce2d317d8511153f276265c6c85e86c0e Mon Sep 17 00:00:00 2001 From: David Gageot Date: Mon, 14 Dec 2015 17:55:04 +0100 Subject: [PATCH] Fix installation notes for 0.5.3 Signed-off-by: David Gageot --- docs/install-machine.md | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/docs/install-machine.md b/docs/install-machine.md index c4bcddd2ce..15b5f34f6d 100644 --- a/docs/install-machine.md +++ b/docs/install-machine.md @@ -28,29 +28,23 @@ instructions in the next section. 1. Install the Docker binary. -2. Download the archive containing the Docker Machine binary and extract it - to your PATH. +2. Download the Docker Machine binary and extract it to your PATH. Linux: - $ curl -L https://github.com/docker/machine/releases/download/v0.5.3/docker-machine_linux-amd64.zip >machine.zip && \ - unzip machine.zip && \ - rm machine.zip && \ - mv docker-machine /usr/local/bin + $ curl -L https://github.com/docker/machine/releases/download/v0.5.3/docker-machine_linux-amd64 >/usr/local/bin/docker-machine && \ + chmod +x /usr/local/bin/docker-machine OSX: - $ curl -L https://github.com/docker/machine/releases/download/v0.5.3/docker-machine_darwin-amd64.zip >machine.zip && \ - unzip machine.zip && \ - rm machine.zip && \ - mv docker-machine /usr/local/bin + $ curl -L https://github.com/docker/machine/releases/download/v0.5.3/docker-machine_darwin-amd64 >/usr/local/bin/docker-machine && \ + chmod +x /usr/local/bin/docker-machine Windows (using Git Bash): - $ curl -L https://github.com/docker/machine/releases/download/v0.5.3/docker-machine_windows-amd64.zip >machine.zip && \ - unzip machine.zip && \ - rm machine.zip && \ - mv docker-machine /usr/local/bin + $ if [[ ! -d "$HOME/bin" ]]; then mkdir -p "$HOME/bin"; fi && \ + curl -L https://github.com/docker/machine/releases/download/v0.5.3/docker-machine_windows-amd64.exe > "$HOME/bin/docker-machine.exe" && \ + chmod +x "$HOME/bin/docker-machine.exe" 3. Check the installation by displaying the Machine version: