DrydockDrydock
ConfigurationRegistries

ALICR (Alibaba Cloud Container Registry)

The alicr registry lets you configure Alibaba Cloud Container Registry integration.

The alicr registry lets you configure Alibaba Cloud Container Registry integration.

Drydock automatically detects Alibaba Cloud registries by matching registry[-intl].*.aliyuncs.com and *.cr.aliyuncs.com hostnames.

Variables

Env varRequiredDescriptionSupported valuesDefault value when missing
DD_REGISTRY_ALICR_{REGISTRY_NAME}_LOGINAlibaba Cloud usernameDD_REGISTRY_ALICR_{REGISTRY_NAME}_PASSWORD must be defined
DD_REGISTRY_ALICR_{REGISTRY_NAME}_PASSWORDRegistry passwordDD_REGISTRY_ALICR_{REGISTRY_NAME}_LOGIN must be defined
DD_REGISTRY_ALICR_{REGISTRY_NAME}_AUTHBase64-encoded login:password stringDD_REGISTRY_ALICR_{REGISTRY_NAME}_LOGIN/PASSWORD must not be defined

Examples

Configure with login and password

services:
  drydock:
    image: codeswhat/drydock
    ...
    environment:
      - [email protected]
      - DD_REGISTRY_ALICR_PRIVATE_PASSWORD=xxxxx
docker run \
  -e "[email protected]" \
  -e "DD_REGISTRY_ALICR_PRIVATE_PASSWORD=xxxxx" \
  ...
  codeswhat/drydock

Configure with base64 auth

services:
  drydock:
    image: codeswhat/drydock
    ...
    environment:
      - DD_REGISTRY_ALICR_PRIVATE_AUTH=dXNlckBleGFtcGxlLmNvbTp4eHh4eA==
docker run \
  -e "DD_REGISTRY_ALICR_PRIVATE_AUTH=dXNlckBleGFtcGxlLmNvbTp4eHh4eA==" \
  ...
  codeswhat/drydock

How to configure registry credentials on Alibaba Cloud

Go to your Alibaba Cloud Console

Navigate to Container Registry > Instances > Access Credential.

Set a fixed password

Click Set Password to create a fixed password for your registry login. Use your Alibaba Cloud account or RAM user as the login and the fixed password as the password.

On this page