Categories

Tools

How to fix ghcr.io denied when pulling a public Docker image

If ghcr.io answers denied when you pull a public image, Docker is sending an expired or revoked GitHub token you saved long ago, and the registry rejects it before checking whether the image is public. Run docker logout ghcr.io, confirm with curl that the package is public, then pull again.