Registries
A registry is a set of encrypted Docker registry credentials stored in Modbox. When a sandbox image references a private registry, Modbox uses these credentials to pull the image at provision time.
Supported registries
Any Docker-compatible registry works:
- Docker Hub —
registry-1.docker.io - GitHub Container Registry —
ghcr.io - Google Artifact Registry —
{region}-docker.pkg.dev - AWS ECR —
{account}.dkr.ecr.{region}.amazonaws.com - Azure Container Registry —
{name}.azurecr.io - Self-hosted — any registry that supports Docker auth
Create a registry credential
Passwords are encrypted at rest using AES-256. They are never returned by the API — only the registry ID, name, server, and username are exposed.
List registries
Passwords are never included in the response.
Link a registry to an image
When creating or updating a sandbox image, pass the registry_id:
Modbox will use the stored credentials to pull the image when provisioning sandboxes with this image.
Update registry credentials
To rotate credentials (e.g. after a token expiry):
Only the fields you include will be updated.
Delete a registry
Deleting a registry will cause any images linked to it to fail to pull. Update the linked images to use a different registry first.