Skip to main content

使用 Docker 注册表

Docker 注册表现已被 Container registry 取代。

谁可以使用此功能?

GitHub Packages 适用于 GitHub Free、GitHub Pro、面向组织的 GitHub Free、GitHub Team、GitHub Enterprise Cloud 和 GitHub Enterprise Server 3.0 或更高版本。
GitHub Packages 不适用于使用旧版按仓库计划的帐户所拥有的私有仓库。 此外,使用旧版按存储库计划的帐户无法访问支持精细权限的注册表,因为这些帐户按存储库计费。有关支持精细权限的注册表列表,请参阅 关于 GitHub Packages 的权限。 有关详细信息,请参阅 GitHub 的计划

GitHub's Docker registry (which used the namespace docker.pkg.github.com) has been replaced by the Container registry (which uses the namespace https://ghcr.io). The Container registry offers benefits such as granular permissions and storage optimizations for Docker images.

Docker images previously stored in the Docker registry are being automatically migrated into the Container registry. For more information, see Migrating to the Container registry from the Docker registry and Working with the Container registry.