|
| 1 | +# Private Container Registries |
| 2 | + |
| 3 | +The platform supports images hosted in private container registries for both scenarios: |
| 4 | + |
| 5 | +- **Using as a base image** in your Dockerfile for the build process. |
| 6 | +- **Deploying directly** as described [here](./deploy-external-image.md). |
| 7 | + |
| 8 | +In either case, you must configure the registry credentials on the platform to securely access the images during deployments. |
| 9 | + |
| 10 | +To configure these credentials, navigate to your organization's Settings page and locate the Container Registries section. Here, you can create, edit, and delete container registry configurations as needed. |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | +## Required Information: |
| 15 | + |
| 16 | +{width=60%} |
| 17 | + |
| 18 | +Provide the following details when configuring credentials: |
| 19 | + |
| 20 | +| Field | Description | Example | |
| 21 | +|-----------------|-------------------------------------------------------------------------------------------------------|------------------------------| |
| 22 | +| **Display Name**| A friendly name to easily identify your registry. | `My Org Private Registry` | |
| 23 | +| **Address** | The address of your registry. | `my-registry.com` | |
| 24 | +| **Auth Type** | Authentication type. Supported values: `BasicAuth` or `Token`. | `BasicAuth` or `Token` | |
| 25 | +| **Credentials** | Depending on the authentication method selected: | | |
| 26 | +| | - **BasicAuth**: Provide a Username & Password | Username/password | |
| 27 | +| | - **Token**: Provide a long-lived token | Token string | |
| 28 | + |
| 29 | +!!! warning |
| 30 | + |
| 31 | + Ensure the credentials provided are long-lived, as the platform does not support automatic credential refresh. |
| 32 | + |
| 33 | +!!! note |
| 34 | + |
| 35 | + If the image was deployed prior to configuring the credentials, you may need to restart the deployment for changes to take effect. |
| 36 | + |
| 37 | +More details about private registry authentication can be found [here](https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/). |
0 commit comments