Download Images from Private Registries
Use short-lived credentials to export private images. Credentials are never stored.
Base URL
https://containerdl.com
Private registry best practices
Temporary credentials
Credentials are used only for the pull and never stored or logged.
Light/Pro access
Private pulls are available on Light and Pro plans.
Least privilege
Use read-only tokens with minimal scopes.
How it works
-
Generate an API key in your account (Light/Pro).
-
Send registry_auth with your image request.
-
Download the TAR once the export completes.
Example
Export a private GHCR image
curlcurl -X POST https://containerdl.com/v1/exports \
-H "Content-Type: application/json" \
-H "Authorization: Bearer cdl_live_xxx" \
-d '{
"image":"ghcr.io/myorg/private-app:1.0",
"registry_auth":{
"username":"token",
"password":"ghp_xxx"
}
}'
- Private registry auth is supported only for GHCR and Docker Hub today.
- Use read-only tokens and rotate them regularly.
Common use cases
- Secure exports of private images.
- CI pipelines that cannot run docker login.
- Audit workflows and compliance.
- Air-gapped transfers of private artifacts.
FAQs
Which private registries are supported?
Private pulls are supported only for GHCR and Docker Hub.
Do you store credentials?
No. Credentials are used only for the request and never saved.
Can I rotate tokens?
Yes. Generate a new token at any time without impacting stored data.