Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save filipeandre/c5cf095cbe7ac3c7344061ffb67fb627 to your computer and use it in GitHub Desktop.
Save filipeandre/c5cf095cbe7ac3c7344061ffb67fb627 to your computer and use it in GitHub Desktop.
At least one invalid signature was encountered docker error

Fix "At least one invalid signature was encountered"

When trying to build a Debian container, I encountered a bunch of errors like this upon running apt update:

W: GPG error: http://deb.debian.org/debian buster InRelease: At least one invalid signature was encountered.
E: The repository 'http://deb.debian.org/debian buster InRelease' is not signed.

The issue seems to be a lack of disk space. This StackOverflow answer was indeed correct: running docker image prune -f and docker container prune -f fixed the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment