浏览代码

Added adding the gpg key

Thatcher Peskens 12 年之前
父节点
当前提交
ebb9b5e85b
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      docs/sources/installation/ubuntulinux.rst

+ 6 - 0
docs/sources/installation/ubuntulinux.rst

@@ -66,6 +66,9 @@ to follow them again.*
 
 .. code-block:: bash
 
+   # Add the Docker repository key to your local keychain
+   sudo sh -c "curl http://get.docker.io/gpg | apt-key add -"
+
    # Add the Docker repository to your apt sources list.
    sudo sh -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list"
 
@@ -116,6 +119,9 @@ to follow them again.*
 
 .. code-block:: bash
 
+   # Add the Docker repository key to your local keychain
+   sudo sh -c "curl http://get.docker.io/gpg | apt-key add -"
+
    # Add the Docker repository to your apt sources list.
    sudo sh -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list"