Container Registries

DataCrunch Containers service supports any container registry that allows authentication using the standard Docker config.json format. In addition to that, we support the custom authentication methods for Docker Hub, GitHub Container Registry, and GCP Artifacts.

Docker Hub

Use your Docker Hub username and access token (dckr_pat_xxxxx)

GitHub Container Registry

Use your GitHub access token (ghp_xxxx)

GCP Artifacts

Use your GCP service account key file (json format)

AWS ECR

Use your AWS credentials (access_key_id and secret_access_key). It's recommended to create a new IAM user and a keypair for it.

Ensure you assign the ecr:GetAuthorizationToken permission to the IAM role, or our platform will not be able to refresh the token, and container pulls will fail after 12 hours when the token expires.

Custom Registries

Other registries can be authenticated using the keys in config.json.

Here is a sample key in this format:

{
  "auths": {
    "my-private-registry.com": {
      "auth": "bXlwYXNzd29yZA=="
    }
  }
}

Last updated