DEV Community

Vasiliy
Vasiliy

Posted on

Docker installation NO_PUBKEY error on ubuntu focal

If you try to complete official docker installation manual and get this error on ubuntu 20 focal distro:

GPG error: https://download.docker.com/linux/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7EA0A9C3F273FCD8
Enter fullscreen mode Exit fullscreen mode

You could better try Digital Ocean manual with such way of adding docker gpg key and repo:

# Add key
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
# Add repo
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
Enter fullscreen mode Exit fullscreen mode

Top comments (0)