EXPKEYSIG
debian
ubuntu
fedora
Fix EXPKEYSIG 9DC858229FC7DD38
Docker CE <docker@docker.com> — by Docker Inc.
Error message
EXPKEYSIG 9DC858229FC7DD38 Docker CE <docker@docker.com>
Fix commands for Generic (GnuPG)
Method 1 GnuPG keyserver lookup
Fetches the key from a public keyserver using GnuPG. Works on any distro with gpg installed.
$
gpg --keyserver keyserver.ubuntu.com --recv-keys 9DC858229FC7DD38
$
gpg --list-keys 9DC858229FC7DD38
Method 2 Direct download
Downloads and imports the key file directly from the vendor.
$
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --import
After importing the key
Run sudo apt-get update (or your distro's equivalent)
again. If successful you should see Hit: lines with no
EXPKEYSIG warnings. Still broken?
Check that your /etc/apt/sources.list.d/ entry references the correct
[signed-by=…] keyring path.