I encountered this error Error: Authorization failed: https://ghcr.io/token. After some troubleshooting, I discovered that the credentials stored in ~/.docker/config.json were stale. I fixed the error by removing the file ~/.docker/config.json. Running docker login ghcr.io would likely also fix it. Perhaps this information could be added to the top-level README.md to a section Configuration Files or Authentication section?
I encountered this error
Error: Authorization failed: https://ghcr.io/token
. After some troubleshooting, I discovered that the credentials stored in~/.docker/config.json
were stale. I fixed the error by removing the file~/.docker/config.json
. Runningdocker login ghcr.io
would likely also fix it. Perhaps this information could be added to the top-levelREADME.md
to a sectionConfiguration Files
orAuthentication
section?