From e116d8ce2eaee148b6adde18fbc004892ba70166 Mon Sep 17 00:00:00 2001 From: atommaki Date: Thu, 5 Sep 2019 15:56:35 +0200 Subject: [PATCH] ubuntu.md: minor update for apt-key usage Please use the `--keyring /etc/apt/trusted.gpg.d/docker.gpg` option for apt-key when add a new key. It makes the installation cleaner, instead of modifying system wide binary file it creates a new dedicated one. Easier to clean up as it's enough simple delete the file (apt-key del... works too). --- install/linux/docker-ce/ubuntu.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/linux/docker-ce/ubuntu.md b/install/linux/docker-ce/ubuntu.md index de513a334aad..cf2cf29f0f6d 100644 --- a/install/linux/docker-ce/ubuntu.md +++ b/install/linux/docker-ce/ubuntu.md @@ -112,7 +112,7 @@ from the repository. 3. Add Docker's official GPG key: ```bash - $ curl -fsSL {{ download-url-base }}/gpg | sudo apt-key add - + $ curl -fsSL {{ download-url-base }}/gpg | sudo apt-key --keyring /etc/apt/trusted.gpg.d/docker.gpg add - ``` Verify that you now have the key with the fingerprint