Note: The container registry is currently in public beta and subject to change. During the beta, storage and bandwidth are free. For more information, see "Introduction to Paquetes de GitHub."
Comparing the Docker registry and the container registry:
- The container registry (
https://ghcr.io) offers improved performance for containers and will supercede the Docker registry in the future.
- You can migrate your Docker images and workflows from the Docker registry (
docker.pkg.github.com) to the container registry (
https://ghcr.io) for granular permissions, container storage optimization, and more. For more information, see "Migrating to the container registry from the Docker registry."
Once the container registry is enabled for your personal user account, you can publish containers to the container registry owned by your user account.
To use the container registry within an organization, the organization owner must enable the feature for organization members.
- In the upper-right corner of any page, click your profile photo, then click Feature preview.
- On the left, select "Improved container support", then click Enable.
Before organization owners or members can publish container images to the container registry, an organization owner must enable the feature preview for the organization.
- En la parte izquierda de tu página de perfil, debajo de "Organizaciones", da clic en el icono de tu organización.
- Next to the organization, click Settings.
- On the left, click Packages.
- Under "Improved container support", select "Enable improved container support" and click Save.
- Under "Container creation", choose whether you want to enable the creation of public, private, or internal container images.
- To enable organization members to create public container images, select Public.
- To enable organization members to create private container images that are only visible to other organization members, select Private. You can further customize the visibility of private container images. For more information, see "Configuring a package's access control and visibility."
- For GitHub Enterprise Cloud only: To enable organization members to create internal container images that are only visible to other organization members, select Internal.