# Create a Container Registry

{% hint style="info" %}
**Prerequisites:** Make sure you have the appropriate permissions. Only contract administrators, owners, and users with the **Manage Registry** permission can create a Container Registry.
{% endhint %}

## Create a Container Registry

1\. In the DCD, go to **Menu** > **Containers** > **Container Registry**.

![Access the Container Registry Manager](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-808f6474d01bdbd79f6cdd216fd3b8c02c18756d%2F01-how-to-open-CR-manager.png?alt=media\&token=64274590-49f4-4a8c-bdc2-517bbca8fba4)

2\. In the **Container Registry Manager**, click **Add a Registry** to start creating a new container registry.

![Create a new Container Registry](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-56d8f0edbe2196138d28e5b32decf3f1f8d3f971%2Fcr-container-registry-list-add-a-registry.png?alt=media\&token=8972e1b5-a047-4b26-85ee-7ab3a16f0b3b)

3\. Provide an appropriate **Name**.

{% hint style="info" %}
**Note:**

It is not possible to change the registry **name** later.

The registry **name**:

* must be globally unique across all customers.
* must contain only alphanumeric characters and dashes.
* must be between 3 and 63 characters in length.
* must begin with an character between a-z.
* must end with an alphanumeric character.
  {% endhint %}

4\. Choose the **Location** where you want your container registry to be run and the artifacts to be stored from the drop-down list.

{% hint style="info" %}
**Note:** It is not possible to change the **Location** later.
{% endhint %}

5\. Turn on the **Vulnerability Scanning** toggle so that your Container Registry is created with the vulnerability scanning enabled.

{% hint style="info" %}
**Note:** We recommend that you create your Container Registry with **Vulnerability Scanning** enabled.

**Vulnerability Scanning** gives you the benefit of all artifacts being scanned for CVEs when pushed into a Container Registry and every time CVE databases are updated with newly identified CVEs. It is possible to add Vulnerability Scanning to a Container Registry. Once Vulnerability Scanning is enabled, it cannot be disabled later.
{% endhint %}

6\. Click **Add Registry**. Your Container Registry and storage will be created.

![Enter the values for creating a Container Registry](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-b28bd9cc93a4b9cd59cdaa31011560ff33753c5f%2Fcr-add_registry__overlay_.png?alt=media\&token=fef0a161-f4f1-4fdf-aabc-73ead435abb9)

{% hint style="success" %}
**Result:** Your Container Registry is ready to use when its status is updated to **Running**.
{% endhint %}

![The Container Registry is ready to use](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-3b703b463252af4ec3ac0b18624f79ed8c54dc71%2Fcr-container-registry-list-running.png?alt=media\&token=2228db51-9ff2-40ff-9e7e-f424bbe4fbf3)
