File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,7 +93,16 @@ from the repository.
9393 ```bash
9494 $ curl -fsSL {{ download-url-base }}/gpg | sudo apt-key add -
9595 ```
96-
96+ Newer versions of Debian have deprecated using `apt-key` like this. If you
97+ are receiving the following error:
98+ ```
99+ Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
100+ ```
101+ then you can avoid it by using the following instead:
102+ ```
103+ curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key --keyring /etc/apt/trusted.gpg.d/docker-apt-key.gpg add -
104+ ```
105+
97106 Verify that you now have the key with the fingerprint
98107 `9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF CD88`, by searching for the
99108 last 8 characters of the fingerprint.
You can’t perform that action at this time.
0 commit comments