DrydockDrydock
ConfigurationRegistriesECR

ECR (Amazon Elastic Container Registry)

The ecr registry lets you configure ECR integration.

logo

The ecr registry lets you configure ECR integration.

Variables

Env varRequiredDescriptionSupported valuesDefault value when missing
DD_REGISTRY_ECR_{REGISTRY_NAME}_REGION🔴A valid AWS Region CodeAWS Region list
DD_REGISTRY_ECR_{REGISTRY_NAME}_ACCESSKEYID🔴A valid AWS Access Key IdStandard AWS Credentials
DD_REGISTRY_ECR_{REGISTRY_NAME}_SECRETACCESSKEY🔴A valid AWS Secret Access KeyStandard AWS Credentials
The AmazonEC2ContainerRegistryReadOnly Policy (or higher) must be attached to the AWS IAM User.

Examples

services:
  drydock:
    image: codeswhat/drydock
    ...
    environment:
      - DD_REGISTRY_ECR_PRIVATE_ACCESSKEYID=xxx
      - DD_REGISTRY_ECR_PRIVATE_SECRETACCESSKEY=xxx
      - DD_REGISTRY_ECR_PRIVATE_REGION=eu-west-1 
docker run \
  -e DD_REGISTRY_ECR_PRIVATE_ACCESSKEYID="xxx" \
  -e DD_REGISTRY_ECR_PRIVATE_SECRETACCESSKEY="xxx" \
  -e DD_REGISTRY_ECR_PRIVATE_REGION="eu-west-1" \
  ...
  codeswhat/drydock

How to create an AWS IAM user and get programmatic access

1. Login to your Go to the IAM Service from your AWS Console and create a new user

image

2. Attach the AmazonEC2ContainerRegistryReadOnly policy to the user

image

3. Get your AccessKeyId and your Secret Access Key and configure drydock with them

image

On this page