mirror of https://github.com/docker/docs.git
Added adding the gpg key
This commit is contained in:
parent
091fb89294
commit
ebb9b5e85b
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue