Private Docker Registries
Last updated
Was this helpful?
Valohai supports pulling images from private Docker registries. Once configured, your organization's projects can use private images just like public ones.
Valohai supports authentication with:
Any registry using standard Docker authentication
Organization admins configure registry credentials in Valohai
Match patterns determine which images use which credentials
All projects in your organization can pull matching private images
Workers automatically authenticate when pulling images
Only organization admins can add and manage private registry credentials.
Personal projects cannot access organization-level private registries. If you need private images, make sure your project is owned by an organization.
Each registry type has specific authentication requirements:
AWS ECR: IAM user or instance role
Docker Hub: Access token (not password)
GCP Artifact Registry: Service account with Reader role
Azure Container Registry: Service principal
JFrog: Access token
Follow the guide for your registry to get started.
After configuration, reference private images in your valohai.yaml using their full name:
No changes to your code needed, Valohai handles authentication automatically.
Check:
Registry credentials are correctly configured in organization settings
Match pattern covers your image (e.g., myregistry.azurecr.io/*)
Project is owned by an organization (personal projects can't access private registries)
Credentials have read permissions for the repository
If pulls are consistently slow:
Your registry might be rate-limiting requests
Network connectivity between workers and registry might be constrained
Consider setting up a pull-through cache
Check the execution logs. Valohai logs the full image name and digest when pulling:
Last updated
Was this helpful?
Was this helpful?
- step:
name: train-model
image: myregistry.azurecr.io/ml-training:v2.0
command:
- python train.pyPulling image: myregistry.azurecr.io/ml-training:v2.0
Image digest: sha256:abc123...