ConfigurationRegistriesACR
ACR (Azure Container Registry)
The acrregistry lets you configure ACR integration.
![]()
The acrregistry lets you configure ACR integration.
Variables
| Env var | Required | Description | Supported values | Default value when missing |
|---|---|---|---|---|
DD_REGISTRY_ACR_{REGISTRY_NAME}_CLIENTID | 🔴 | Service Principal Client ID | See Service Principal Auth | |
DD_REGISTRY_ACR_{REGISTRY_NAME}_CLIENTSECRET | 🔴 | Service Principal Secret | See Service Principal Auth |
Examples
services:
drydock:
image: codeswhat/drydock
...
environment:
- DD_REGISTRY_ACR_PRIVATE_CLIENTID=7c0195aa-112d-4ac3-be24-6664a13f3d2b
- DD_REGISTRY_ACR_PRIVATE_CLIENTSECRET=SBgHNi3zA5K.f9.f9ft~_hpqbS~.pk.t_idocker run \
-e DD_REGISTRY_ACR_PRIVATE_CLIENTID=7c0195aa-112d-4ac3-be24-6664a13f3d2b \
-e DD_REGISTRY_ACR_PRIVATE_CLIENTSECRET=SBgHNi3zA5K.f9.f9ft~_hpqbS~.pk.t_i \
...
codeswhat/drydockHow to create Registry credentials on Microsoft Azure Platform
Create a Service Principal
Follow the official Azure documentation.
Get the Client Id and the Client Secret of the created Service Principal

Go to your Container Registry and click on the Access Control (IAM) Menu

Click to Add a role assignment
Select the AcrPull role and assign to your Service Principal
