Add container registry credentials
Add a registry credential so EasyHosting can pull private container images for your services. In your hosting environment, open Credentials, choose Container registry, then select Add credential. You can also add a credential in the onboarding wizard.
GitHub Container Registry
- Create a
GitHub personal access token (classic)
with the
read:packagesscope. If your GitHub organisation requires single sign-on, authorise the token for that organisation. - In URL, enter
ghcr.ioto match images across the registry, orghcr.io/your-organisationto match only images under that organisation. If you include a scheme, usehttps://. - Choose Access Token and paste the token into Access token. If you use Basic, enter your GitHub username and paste the token into Password.
- Submit the form. EasyHosting checks that GitHub accepts the token and that it has package-read access before saving the credential.
You can save the credential before publishing your first image or selecting a Git repository. Once you publish a private image, the GitHub account that owns the token also needs permission to read that specific package.
For a service built by EasyHosting, you can scope a credential to one image
repository. For example, a service named web built from the GitHub repository
Acme/Demo uses ghcr.io/acme/demo-web. Enter that address in URL to match
only that image repository.
If GitHub rejects the token, check that you pasted the complete token and that
it is still active. If EasyHosting reports a missing scope, use a classic token
with read:packages. If verification is temporarily unavailable, wait a moment
and submit again.
To replace a token, open the existing credential and select Update. Enter the new token and select Update registry credential. EasyHosting verifies the replacement before saving. If verification fails, the saved credential continues to be used while you correct the error or retry.
Other registries
Enter the registry URL and the credentials your registry requires. EasyHosting checks the form inputs when you add the credential. The registry authenticates the credential when EasyHosting pulls an image.
Delete a registry credential
Open the credential, then choose Options and Delete. If no services use it, confirm to remove the credential.
If services use the credential, review the image and verified replacement shown
for each service. EasyHosting checks whether the registry accepts the
replacement credential for the service’s configured image tag or digest.
Verification requires a public HTTPS registry and an authentication endpoint on
the same host and port for custom registries. For Docker Hub, the preview can
verify replacements for image references that begin with docker.io/. Use
https://index.docker.io/v1/ as the credential URL. Choose Basic and enter
your Docker Hub username and a token with pull access as the password.
- Choose Replace and delete when every service has a verified replacement. EasyHosting updates the credentials while keeping each service’s configured image, including its tag or digest, then removes the original credential.
- If any service has no verified replacement, check the Notes column for the
reason. Matching credentials checked shows each registry URL with the
reason EasyHosting could not verify it. For GitHub Container Registry, this
can include a token error such as a missing
read:packagesscope. You can update a matching credential or add one with pull access, then reopen the preview. To proceed, check the box acknowledging that services without verified replacements may fail to pull their images the next time they restart or deploy. If some services have verified replacements, choose Replace and delete to switch those services before removing the original credential. If no service has a verified replacement, choose Delete. - To remove the credential without attempting any switches, select Skip credential replacement, acknowledge the image-pull risk, and choose Delete without replacing. All affected services may fail to pull their images the next time they restart or deploy.
The preview uses the service settings EasyHosting last recorded. When you confirm, EasyHosting checks the latest service settings in Git. If the preview changes, review the updated list and confirm again. If a switch fails, EasyHosting keeps the original credential. Successfully switched services keep their replacements. Refresh the preview before retrying or choosing to skip replacement.