Skip to main content

Migrieren zur Containerregistrierung aus der Docker-Registrierung

GitHub wird vorher in der Docker-Registrierung auf GitHub gespeicherte Docker-Images zu Container registry migrieren.

Wer kann dieses Feature verwenden?

Enterprise Managed Users können im Namespace einer Organisation veröffentlicht werden. Diese Benutzer können keine Pakete im Namespace ihres Kontos veröffentlichen, da keine persönliche Speicherzuweisung vorhanden ist. Weitere Informationen zu Enterprise Managed Users findest du unter Informationen zu Enterprise Managed Users.

About the Container registry

The Container registry stores container images within your organization or personal account, and allows you to associate an image with a repository. You can choose whether to inherit permissions from a repository, or set granular permissions independently of a repository. You can also access public container images anonymously. For more information, see Working with the Container registry.

About migration from the Docker registry

The Container registry replaces GitHub's Docker registry. If you've stored Docker images in the Docker registry, GitHub will gradually migrate the images to the Container registry. No action is required on your part.

After a Docker image has been migrated to the Container registry, you'll see the following changes to the details for the package.

  • The package icon will be the Container registry logo (a icon) instead of the Docker logo.
  • The domain in the pull URL will be ghcr.io instead of docker.pkg.github.com.

Any scripts or GitHub Actions workflows that use the namespace for the Docker registry, docker.pkg.github.com, will continue to work after migration to the Container registry at ghcr.io.

After migration, you'll no longer be able to use the GraphQL API to query for packages with a PackageType of "DOCKER". Instead, you can use the REST API to query for packages with a package_type of "container". For more information, see REST API endpoints for packages.

About billing for Container registry

For more information about billing for the Container registry, see GitHub Packages billing.