# 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’.

![](https://315393028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCNvxW8k55ZlpJfMk8Oep%2Fuploads%2F6iSGxpzPO6owXBrPgr6k%2Fdyrector-io-v2-registry.png?alt=media\&token=0049a2ea-b106-4835-b6de-f4fa45ebfada)

**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.
