Manage container registries
This article shows you how to connect container registries, such as ghcr.io or docker.io, to your organization. Components can then be deployed from prebuilt images in them. Credentials are kept in a secret store and never shown again.
Container registries are currently available only for organizations on a private data plane (PDP).
Prerequisites
- The OrganizationAdmin role in the organization.
Add a registry
- Sign in to the Choreo Cloud console.
- In the sidebar, under Admin, select Container Registries.
- Select Add Container Registries.
- Enter a Display name and the Registry host, for example
ghcr.io. Don't includehttps://. - Under Authentication, select one of these:
- Public: no credential needed.
- Username + token: enter a username and a read-only access token.
- Docker config JSON: paste the contents of a Docker
config.jsonfile.
- Optionally, enter a Test image the registry should be able to pull, such as
team/app:1.0. Select Test connection to check the connection. It doesn't save anything. - Select Save registry. If you entered a test image and it pulls, the registry is marked Verified.
A registry shows one of these statuses:
- Verified: the test image was pulled with the registry's credential.
- Unverified: an authenticated registry that has no pulled test image, for example because you didn't enter one or the login was refused.
- No credential: a public registry, which has no credential to check.
Use a registry in a component
In the Integration platform, when you create a component from a prebuilt image, select one of your organization's registries and enter the image, relative to the registry host. The component pulls the image with that registry's credential.
Selecting a registry when you create a component is currently available only in the Integration platform.
Update credentials
- Go to Admin > Container Registries.
- In the registry's row, select the edit icon.
- Enter the new credential. For Username + token, enter both fields.
- Select Update credentials.
Components that use the registry pick up the new credential with no change. Without a test image, the status becomes Unverified.
Public registries have no credential, so their edit icon is turned off and you can't update credentials for them.
Delete a registry
- Go to Admin > Container Registries.
- In the registry's row, select the delete icon.
- Type the registry's display name to confirm, and select Delete registry.
You can't delete a registry while components use it. Public registries are the exception: components that use them aren't counted, so this check doesn't stop you from deleting one.
Components that pull images from a deleted registry fail with image pull errors on new deployments and pod restarts until you point them at another registry. Deleting a registry also deletes its credential, and can't be undone.
Next steps
Was this page helpful?