فهرست منبع

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"