DrydockDrydock
ConfigurationRegistriesACR

ACR (Azure Container Registry)

The acrregistry lets you configure ACR integration.

logo

The acrregistry lets you configure ACR integration.

Variables

Env varRequiredDescriptionSupported valuesDefault value when missing
DD_REGISTRY_ACR_{REGISTRY_NAME}_CLIENTID🔴Service Principal Client IDSee Service Principal Auth
DD_REGISTRY_ACR_{REGISTRY_NAME}_CLIENTSECRET🔴Service Principal SecretSee 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_i
docker 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/drydock

How 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

image

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

image

Click to Add a role assignment

Select the AcrPull role and assign to your Service Principal image

On this page