> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CREATE CONTAINER REGISTRY

Creates a new reference to a
[Docker container registry](https://docs.kinetica.com/content/ml/concepts.md#ml-registry) for
accessing [ML models](https://docs.kinetica.com/content/ml/concepts.md#ml-model).

```sql title="CREATE CONTAINER REGISTRY Syntax" theme={null}
CREATE [OR REPLACE] CONTAINER REGISTRY <registry name>
URI = '<registry URI>'
CREDENTIAL = <credential name>
```

## Parameters

> [accordion] OR REPLACE
>
> Any existing *container registry* reference with the same name will be dropped before creating
> this one

> [accordion] \<registry name>
>
> Name of the reference to the *container registry*, which can be referenced in subsequent
> commands

> [accordion] URI
>
> The URI to the *container registry* itself

> [accordion] CREDENTIAL
>
> Name of the [credential](https://docs.kinetica.com/content/sql/ddl/create-credential.md#sql-create-credential) to use to authenticate to the
> *container registry*

## Examples

```sql title="CREATE CONTAINER REGISTRY Example" theme={null}
CREATE CONTAINER REGISTRY model_registry_docker
URI = 'https://index.docker.io'
CREDENTIAL = reg_cred;
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.