diff --git a/contrib/install.sh b/contrib/install.sh index d7c6e66466..7db577a9da 100755 --- a/contrib/install.sh +++ b/contrib/install.sh @@ -36,9 +36,9 @@ else fi echo "Downloading docker binary and uncompressing into /usr/local/bin..." -curl -s http://get.docker.io/builds/$(uname -s)/$(uname -m)/docker-master.tgz | +curl -s http://get.docker.io/builds/$(uname -s)/$(uname -m)/docker-latest.tgz | tar -C /usr/local/bin --strip-components=1 -zxf- \ -docker-master/docker +docker-latest/docker if [ -f /etc/init/dockerd.conf ] then diff --git a/docs/sources/installation/binaries.rst b/docs/sources/installation/binaries.rst index 3428f9f279..2607f3680f 100644 --- a/docs/sources/installation/binaries.rst +++ b/docs/sources/installation/binaries.rst @@ -26,9 +26,9 @@ Install the docker binary: :: - wget http://get.docker.io/builds/Linux/x86_64/docker-master.tgz - tar -xf docker-master.tgz - sudo cp ./docker-master /usr/local/bin + wget http://get.docker.io/builds/Linux/x86_64/docker-latest.tgz + tar -xf docker-latest.tgz + sudo cp ./docker-latest/docker /usr/local/bin Note: docker currently only supports 64-bit Linux hosts. @@ -50,4 +50,4 @@ Run your first container! -Continue with the :ref:`hello_world` example. \ No newline at end of file +Continue with the :ref:`hello_world` example. diff --git a/docs/sources/installation/upgrading.rst b/docs/sources/installation/upgrading.rst index 66825ac643..a5172b6d76 100644 --- a/docs/sources/installation/upgrading.rst +++ b/docs/sources/installation/upgrading.rst @@ -11,7 +11,7 @@ Get the latest docker binary: :: - wget http://get.docker.io/builds/$(uname -s)/$(uname -m)/docker-master.tgz + wget http://get.docker.io/builds/$(uname -s)/$(uname -m)/docker-latest.tgz @@ -19,7 +19,7 @@ Unpack it to your current dir :: - tar -xf docker-master.tgz + tar -xf docker-latest.tgz Stop your current daemon. How you stop your daemon depends on how you started it. @@ -38,4 +38,4 @@ Now start the daemon sudo ./docker -d & -Alternatively you can replace the docker binary in ``/usr/local/bin`` \ No newline at end of file +Alternatively you can replace the docker binary in ``/usr/local/bin``