ocipkg icon indicating copy to clipboard operation
ocipkg copied to clipboard

Error: Authorization failed: https://ghcr.io/token

Open sjackman opened this issue 1 year ago • 0 comments

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?

sjackman avatar Apr 24 '24 02:04 sjackman