瀏覽代碼

Merge pull request #17401 from hugomarisco/patch-1

update gpg add key command, without sudo it fails
David Calavera 9 年之前
父節點
當前提交
1156b7ff66
共有 1 個文件被更改,包括 1 次插入1 次删除
  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.
 
-        $ 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.