DEV Community


Docker installation NO_PUBKEY error on ubuntu focal

webchi profile image Vasiliy ・1 min read

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

GPG error: 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 | sudo apt-key add -
# Add repo
sudo add-apt-repository "deb [arch=amd64] focal stable"
Enter fullscreen mode Exit fullscreen mode

Discussion (0)

Editor guide