mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Added adding the gpg key
This commit is contained in:
parent
091fb89294
commit
ebb9b5e85b
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue