Coolify logoCoolify

过期的 GitHub 个人访问令牌 (PAT)

如果你遇到以下错误,意味着 Docker 无法与 GitHub 容器注册表 (ghcr.io) 进行认证:

错误

  Error response from daemon: Head "https://ghcr.io/v2/coollabsio/coolify-helper/manifests/1.0.1": unauthorized: authentication required

  Unable to find image 'ghcr.io/coollabsio/coolify-helper:latest' locally
  docker: Error response from daemon: Head "https://ghcr.io/v2/coollabsio/coolify-helper/manifests/latest": denied: denied

解决方案

你有两个选择:

  • 通过运行以下命令注销 GitHub 容器注册表 (ghcr.io):
      docker logout ghcr.io
  • 如果你需要为部署保持认证访问权限,请更新你的 GitHub 个人访问令牌 (PAT)。

On this page