# Docker Registry credentials

## Setting Docker Registry Credentials

1. In the DuploCloud Portal, navigate to **Docker** -> **Services**. Docker registry credentials are passed to the Kubernetes cluster as `kubernetes.io/dockerconfigjson`.
2. Click the **Docker** list box in the upper right, and select **Docker Credentials**. The **Set Docker registry Creds** pane displays.
3. Supply the credentials and click **Submit**.
4. Enable the Docker Shell Service by clicking **Enable Docker Shell**.

## Adding multiple Docker Registry Credentials

You can pull images from multiple Docker registries by adding multiple Docker Registry Credentials.

1. In the DuploCloud Portal, click **Administrator** -> **Plan**. The **Plans** page displays.
2. Select the Plan in the **Name** column.
3. Click the **Config** tab.
4. Click **Add**. The **Add Config** pane displays.

<div align="left"><figure><img src="/files/5MkHm0QyCiJbS6chL5jv" alt=""><figcaption><p><strong>Add Config</strong> pane</p></figcaption></figure></div>

### Passing Docker Credentials using Environment Variables

You can pass Docker Credentials using the Environment Variables config field in the Add Service Basic Options page. See the [Kubernetes Configs and Secrets](/docs/automation-platform/kubernetes-overview/configs-and-secrets.md) section.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.duplocloud.com/docs/automation-platform/overview-1/gcp-services/containers/docker-registry-credentials.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
