-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed as not planned
Labels
Description
Is this a docs issue?
- My issue is about the documentation content or website
Type of issue
Information is incorrect
Description
I suggest changing instances of /etc/apt/keyrings/docker.gpg to /usr/share/keyrings/docker.gpg
The reasons:
- The instructions were asking us to create
/etc/apt/keyringswhile/usr/share/keyringsalready exists for exactly this use. - The old path is very close to
/etc/apt/trusted.gpg.d/which should never be used. Any gpg keys placed in/etc/apt/trusted.gpg.dwill be trusted blindly by all repositories on the system.
In short, in the last few years, /usr/share/keyrings has now been defined as the place to put these new repository specific gpg keys 👍
Location
https://docs.docker.com/engine/install/ubuntu/
Suggestion
No response