DrydockDrydock
ConfigurationRegistries

OCIR (Oracle Cloud Infrastructure Registry)

The ocir registry lets you configure Oracle Cloud Infrastructure Registry integration.

The ocir registry lets you configure OCIR integration.

Drydock automatically detects OCIR registries by matching *.ocir.io hostnames.

Variables

Env varRequiredDescriptionSupported valuesDefault value when missing
DD_REGISTRY_OCIR_{REGISTRY_NAME}_LOGINOCI username (e.g. tenancy/user)DD_REGISTRY_OCIR_{REGISTRY_NAME}_PASSWORD must be defined
DD_REGISTRY_OCIR_{REGISTRY_NAME}_PASSWORDAuth tokenDD_REGISTRY_OCIR_{REGISTRY_NAME}_LOGIN must be defined
DD_REGISTRY_OCIR_{REGISTRY_NAME}_AUTHBase64-encoded login:password stringDD_REGISTRY_OCIR_{REGISTRY_NAME}_LOGIN/PASSWORD must not be defined

Examples

Configure with login and password

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

Configure with base64 auth

services:
  drydock:
    image: codeswhat/drydock
    ...
    environment:
      - DD_REGISTRY_OCIR_PRIVATE_AUTH=dGVuYW5jeS91c2VyOnh4eHh4
docker run \
  -e "DD_REGISTRY_OCIR_PRIVATE_AUTH=dGVuYW5jeS91c2VyOnh4eHh4" \
  ...
  codeswhat/drydock

How to create an Auth Token on Oracle Cloud

Go to your OCI Console and open the Auth Tokens page

Navigate to Identity & Security > Users > Your User > Auth Tokens.

Generate token

Click Generate Token, give it a description, and copy the generated token value.

Use your full OCI username (e.g. tenancy/oracleidentitycloudservice/[email protected]) as the login and the generated token as the password.

On this page