Forráskód Böngészése

Merge pull request #17401 from hugomarisco/patch-1

update gpg add key command, without sudo it fails
David Calavera 9 éve
szülő
commit
1156b7ff66
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      docs/installation/ubuntulinux.md

+ 1 - 1
docs/installation/ubuntulinux.md

@@ -55,7 +55,7 @@ packages from the new repository:
 
 
 3. Add the new `gpg` key.
 3. Add the new `gpg` key.
 
 
-        $ apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
+        $ sudo apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
 
 
 4. Open the `/etc/apt/sources.list.d/docker.list` file in your favorite editor.
 4. Open the `/etc/apt/sources.list.d/docker.list` file in your favorite editor.