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 var | Required | Description | Supported values | Default value when missing |
|---|---|---|---|---|
DD_REGISTRY_ALICR_{REGISTRY_NAME}_LOGIN | ⚪ | Alibaba Cloud username | DD_REGISTRY_ALICR_{REGISTRY_NAME}_PASSWORD must be defined | |
DD_REGISTRY_ALICR_{REGISTRY_NAME}_PASSWORD | ⚪ | Registry password | DD_REGISTRY_ALICR_{REGISTRY_NAME}_LOGIN must be defined | |
DD_REGISTRY_ALICR_{REGISTRY_NAME}_AUTH | ⚪ | Base64-encoded login:password string | DD_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=xxxxxdocker run \
-e "[email protected]" \
-e "DD_REGISTRY_ALICR_PRIVATE_PASSWORD=xxxxx" \
...
codeswhat/drydockConfigure 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/drydockHow 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.