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 var | Required | Description | Supported values | Default value when missing |
|---|---|---|---|---|
DD_REGISTRY_OCIR_{REGISTRY_NAME}_LOGIN | ⚪ | OCI username (e.g. tenancy/user) | DD_REGISTRY_OCIR_{REGISTRY_NAME}_PASSWORD must be defined | |
DD_REGISTRY_OCIR_{REGISTRY_NAME}_PASSWORD | ⚪ | Auth token | DD_REGISTRY_OCIR_{REGISTRY_NAME}_LOGIN must be defined | |
DD_REGISTRY_OCIR_{REGISTRY_NAME}_AUTH | ⚪ | Base64-encoded login:password string | DD_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=xxxxxdocker run \
-e "DD_REGISTRY_OCIR_PRIVATE_LOGIN=tenancy/oracleidentitycloudservice/[email protected]" \
-e "DD_REGISTRY_OCIR_PRIVATE_PASSWORD=xxxxx" \
...
codeswhat/drydockConfigure with base64 auth
services:
drydock:
image: codeswhat/drydock
...
environment:
- DD_REGISTRY_OCIR_PRIVATE_AUTH=dGVuYW5jeS91c2VyOnh4eHh4docker run \
-e "DD_REGISTRY_OCIR_PRIVATE_AUTH=dGVuYW5jeS91c2VyOnh4eHh4" \
...
codeswhat/drydockHow 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.