Browse code

Make official install instructions use curl instead of wget

YOU GO CURL

Fixes #14650

Signed-off-by: Ankush Agarwal <ankushagarwal11@gmail.com>

Ankush Agarwal authored on 2015/08/08 02:13:28
Showing 3 changed files
... ...
@@ -100,7 +100,7 @@ which is officially supported by Docker.
100 100
 >command fails for the Docker repo during installation. To work around this,
101 101
 >add the key directly using the following:
102 102
 >
103
->       $ wget -qO- https://get.docker.com/gpg | sudo apt-key add -
103
+>       $ curl -sSL https://get.docker.com/gpg | sudo apt-key add -
104 104
 
105 105
 ### Uninstallation
106 106
 
... ...
@@ -104,18 +104,18 @@ install Docker using the following:
104 104
 
105 105
 1. Log into your Ubuntu installation as a user with `sudo` privileges.
106 106
 
107
-2. Verify that you have `wget` installed.
107
+2. Verify that you have `curl` installed.
108 108
 
109
-        $ which wget
109
+        $ which curl
110 110
 
111
-    If `wget` isn't installed, install it after updating your manager:
111
+    If `curl` isn't installed, install it after updating your manager:
112 112
 
113 113
         $ sudo apt-get update
114
-        $ sudo apt-get install wget
114
+        $ sudo apt-get install curl
115 115
 
116 116
 3. Get the latest Docker package.
117 117
 
118
-        $ wget -qO- https://get.docker.com/ | sh
118
+        $ curl -sSL https://get.docker.com/ | sh
119 119
 
120 120
     The system prompts you for your `sudo` password. Then, it downloads and
121 121
     installs Docker and its dependencies.
... ...
@@ -125,7 +125,7 @@ install Docker using the following:
125 125
     >command fails for the Docker repo during installation. To work around this,
126 126
     >add the key directly using the following:
127 127
     >
128
-    >       $ wget -qO- https://get.docker.com/gpg | sudo apt-key add -
128
+    >       $ curl -sSL https://get.docker.com/gpg | sudo apt-key add -
129 129
 
130 130
 4. Verify `docker` is installed correctly.
131 131
 
... ...
@@ -332,9 +332,9 @@ to start the docker daemon on boot
332 332
 
333 333
 ## Upgrade Docker
334 334
 
335
-To install the latest version of Docker with `wget`:
335
+To install the latest version of Docker with `curl`:
336 336
 
337
-    $ wget -qO- https://get.docker.com/ | sh
337
+    $ curl -sSL https://get.docker.com/ | sh
338 338
 
339 339
 ## Uninstallation
340 340
 
... ...
@@ -13,18 +13,18 @@ please feel free to provide any feedback on these features you wish.
13 13
 
14 14
 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.
15 15
 
16
-1. Verify that you have `wget` installed.
16
+1. Verify that you have `curl` installed.
17 17
 
18
-        $ which wget
18
+        $ which curl
19 19
 
20
-    If `wget` isn't installed, install it after updating your manager:
20
+    If `curl` isn't installed, install it after updating your manager:
21 21
 
22 22
         $ sudo apt-get update
23
-        $ sudo apt-get install wget
23
+        $ sudo apt-get install curl
24 24
 
25 25
 2. Get the latest Docker package.
26 26
 
27
-        $ wget -qO- https://experimental.docker.com/ | sh
27
+        $ curl -sSL https://experimental.docker.com/ | sh
28 28
 
29 29
     The system prompts you for your `sudo` password. Then, it downloads and
30 30
     installs Docker and its dependencies.
... ...
@@ -34,7 +34,7 @@ Unlike the regular Docker binary, the experimental channels is built and updated
34 34
 	>command fails for the Docker repo during installation. To work around this,
35 35
 	>add the key directly using the following:
36 36
 	>
37
-	>       $ wget -qO- https://experimental.docker.com/gpg | sudo apt-key add -
37
+	>       $ curl -sSL https://experimental.docker.com/gpg | sudo apt-key add -
38 38
 
39 39
 3. Verify `docker` is installed correctly.
40 40