# Add V2 Registry

V2 Registries are Docker Registry HTTP API V2 compatible. Both private and public registries are supported.

### Add a private registry

**Step 1:** Open Registries on the left and click ‘Add’ on the top right.

**Step 2:** Enter your registry’s name and select an icon.

{% hint style="success" %}
**Tip:** You can write a description, so others on your team can understand what’s the purpose of this registry.
{% endhint %}

**Step 3:** Select V2 Registry and switch the toggle under the URL field to ‘Private’.

![](/files/kOK0hRgX00nDa3KSJJwy)

**Step 4:** In the corresponding fields, enter:

* URL of your registry without the /v2 suffix,
* username, and
* the token or password which you use to access it.

**Step 5:** Click ‘Save’ button on the top right.

### **Add a public registry**

**Step 1:** Open Registries on the left and click ‘Add’ on the top right.

**Step 2:** Enter your registry’s name and select an Icon below.

{% hint style="success" %}
**Tip:** You can write a description, so others on your team can understand what’s the purpose of this registry.
{% endhint %}

**Step 3:** Select V2 Registry type and switch the toggle under the URL field to ‘Public’.

**Step 4:** Enter the URL of your registry without the /v2 suffix.

**Step 5:** Click ‘Save’ button on the top right.


---

# 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.dyrector.io/tutorials/add-your-registry/add-v2-registry.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.
