From c76fef1791106ca60b7f913a895a77251b695c0a Mon Sep 17 00:00:00 2001 From: Ankush Agarwal Date: Fri, 7 Aug 2015 10:13:28 -0700 Subject: [PATCH] Make official install instructions use curl instead of wget YOU GO CURL Fixes #14650 Signed-off-by: Ankush Agarwal --- docs/installation/debian.md | 2 +- docs/installation/ubuntulinux.md | 16 ++++++++-------- experimental/README.md | 12 ++++++------ 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/docs/installation/debian.md b/docs/installation/debian.md index 1132064af..d61a33987 100644 --- a/docs/installation/debian.md +++ b/docs/installation/debian.md @@ -100,7 +100,7 @@ which is officially supported by Docker. >command fails for the Docker repo during installation. To work around this, >add the key directly using the following: > -> $ wget -qO- https://get.docker.com/gpg | sudo apt-key add - +> $ curl -sSL https://get.docker.com/gpg | sudo apt-key add - ### Uninstallation diff --git a/docs/installation/ubuntulinux.md b/docs/installation/ubuntulinux.md index 0e632bde2..2897e9d81 100644 --- a/docs/installation/ubuntulinux.md +++ b/docs/installation/ubuntulinux.md @@ -104,18 +104,18 @@ install Docker using the following: 1. Log into your Ubuntu installation as a user with `sudo` privileges. -2. Verify that you have `wget` installed. +2. Verify that you have `curl` installed. - $ which wget + $ which curl - If `wget` isn't installed, install it after updating your manager: + If `curl` isn't installed, install it after updating your manager: $ sudo apt-get update - $ sudo apt-get install wget + $ sudo apt-get install curl 3. Get the latest Docker package. - $ wget -qO- https://get.docker.com/ | sh + $ curl -sSL https://get.docker.com/ | sh The system prompts you for your `sudo` password. Then, it downloads and installs Docker and its dependencies. @@ -125,7 +125,7 @@ install Docker using the following: >command fails for the Docker repo during installation. To work around this, >add the key directly using the following: > - > $ wget -qO- https://get.docker.com/gpg | sudo apt-key add - + > $ curl -sSL https://get.docker.com/gpg | sudo apt-key add - 4. Verify `docker` is installed correctly. @@ -332,9 +332,9 @@ to start the docker daemon on boot ## Upgrade Docker -To install the latest version of Docker with `wget`: +To install the latest version of Docker with `curl`: - $ wget -qO- https://get.docker.com/ | sh + $ curl -sSL https://get.docker.com/ | sh ## Uninstallation diff --git a/experimental/README.md b/experimental/README.md index d236df271..6f78bb182 100644 --- a/experimental/README.md +++ b/experimental/README.md @@ -13,18 +13,18 @@ please feel free to provide any feedback on these features you wish. Unlike the regular Docker binary, the experimental channels is built and updated nightly on TO.BE.ANNOUNCED. From one day to the next, new features may appear, while existing experimental features may be refined or entirely removed. -1. Verify that you have `wget` installed. +1. Verify that you have `curl` installed. - $ which wget + $ which curl - If `wget` isn't installed, install it after updating your manager: + If `curl` isn't installed, install it after updating your manager: $ sudo apt-get update - $ sudo apt-get install wget + $ sudo apt-get install curl 2. Get the latest Docker package. - $ wget -qO- https://experimental.docker.com/ | sh + $ curl -sSL https://experimental.docker.com/ | sh The system prompts you for your `sudo` password. Then, it downloads and installs Docker and its dependencies. @@ -34,7 +34,7 @@ Unlike the regular Docker binary, the experimental channels is built and updated >command fails for the Docker repo during installation. To work around this, >add the key directly using the following: > - > $ wget -qO- https://experimental.docker.com/gpg | sudo apt-key add - + > $ curl -sSL https://experimental.docker.com/gpg | sudo apt-key add - 3. Verify `docker` is installed correctly.