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.

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=="
    }
  }
}

To create the above key for AWS ECR, please use the following command:

The JSON authentication key created with the below command will expire every 12h and would need to be manually refreshed. Full AWS ECR integration that will bypass this issue is coming soon.

aws ecr get-login-password --region your-region | docker login --username AWS \
--password-stdin your-account-id.dkr.ecr.your-region.amazonaws.com

Last updated