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

# Container Registry

> Manage container registries for your organization

## Overview

This section allows you to define the container registries available within your organization. Once configured, only images stored in these registered container registries will be allowed to be deployed on your clusters.

By connecting container registries to your organization, you can deploy applications using images from these registries across all your projects and environments.

<Info>
  Container registries configured here apply to the entire organization and are available for all projects.
</Info>

## Accessing Container Registry Settings

To manage container registries:

1. Navigate to **Organization Settings** → **Container Registries**
2. You'll see a list of all configured registries

<img src="https://mintcdn.com/qovery/Z47yDkvz3ZHCzyb2/images/configuration/organization/container_1.png?fit=max&auto=format&n=Z47yDkvz3ZHCzyb2&q=85&s=21596b3e28a947a6ce155a0ccf1c9c57" alt="Container Registry Management" width="2784" height="1820" data-path="images/configuration/organization/container_1.png" />

## Supported Registry Types

Qovery supports the following container registry providers:

* **ECR** (AWS Elastic Container Registry)
* **GCP Artifact Registry** (Google Cloud Artifact Registry)
* **Scaleway Container Registry**
* **Docker Hub**
* **GitHub Container Registry (GHCR)**
* **GitHub Enterprise Container Registry**
* **GitLab Container Registry**
* **Public ECR** (AWS Public Elastic Container Registry)
* **Generic Container Registry** (any Docker-compatible registry accessible via `docker login`)

## Create a Container Registry

<Steps>
  <Step title="Click Add Registry">
    Press the **Add Registry** button to create a new container registry connection

    <img src="https://mintcdn.com/qovery/Z47yDkvz3ZHCzyb2/images/configuration/organization/container_creation.png?fit=max&auto=format&n=Z47yDkvz3ZHCzyb2&q=85&s=eb6ae7edec68fc7b436e68dbb61a3efb" alt="Container Registry Creation" width="2784" height="1820" data-path="images/configuration/organization/container_creation.png" />
  </Step>

  <Step title="Select Registry Type">
    Choose your registry provider from the dropdown menu
  </Step>

  <Step title="Provide Required Information">
    Enter the necessary authentication details based on your registry type.

    **Example for AWS ECR:**

    * **Registry URL**: `https://<aws_account_id>.dkr.ecr.<region>.amazonaws.com`
    * **Region**: AWS region where your ECR is located (e.g., `us-east-1`, `eu-west-1`)
    * **Access Key ID**: AWS IAM access key with ECR permissions
    * **Secret Access Key**: AWS IAM secret access key

    <Info>
      Each registry type requires different configuration fields. The form will adapt based on your selection.
    </Info>
  </Step>

  <Step title="Test Connection">
    Qovery will automatically test the connection to verify credentials
  </Step>

  <Step title="Save Registry">
    Click **Save** to add the registry to your organization
  </Step>
</Steps>

<Info>
  Once added, the container registry will be available for all projects and environments in your organization.
</Info>

## Modify an Existing Registry

To edit a container registry:

1. Locate the registry in the Container Registry list
2. Click the **wheel button** (edit icon) next to the registry
3. Update the registry configuration as needed
4. Click **Save** to apply changes

<img src="https://mintcdn.com/qovery/Z47yDkvz3ZHCzyb2/images/configuration/organization/container_edit.png?fit=max&auto=format&n=Z47yDkvz3ZHCzyb2&q=85&s=becd941a8e63c3a72dfcb499ad9dd062" alt="Edit Container Registry" width="2784" height="1820" data-path="images/configuration/organization/container_edit.png" />

<Warning>
  Updating registry credentials will affect all applications using images from this registry. Ensure new credentials are valid before saving.
</Warning>

## Delete a Container Registry

To remove a container registry:

1. Locate the registry in the Container Registry list
2. Click the **trash button** (delete icon) next to the registry
3. Confirm the deletion

<Warning>
  Before deleting a registry, make sure that there are no applications within your organization using images stored in this registry. Deleting a registry may prevent deployments from succeeding.
</Warning>

## Best Practices

<AccordionGroup>
  <Accordion title="Organize by Environment">
    Consider creating separate registry connections for different environments (development, staging, production) for better security and access management.
  </Accordion>

  <Accordion title="Use Descriptive Names">
    Name registries clearly to indicate their purpose:

    * `aws-ecr-production-us-east-1`
    * `docker-hub-public-images`
    * `gcr-staging-europe`
  </Accordion>

  <Accordion title="Regular Credential Rotation">
    Periodically rotate registry credentials for security:

    1. Create new credentials in your registry provider
    2. Update the registry configuration in Qovery
    3. Test with a deployment
    4. Remove old credentials from the provider
  </Accordion>
</AccordionGroup>

## Related Resources

<CardGroup cols={2}>
  <Card title="Cloud Credentials" href="/configuration/organization/cloud-credentials">
    Manage cloud provider credentials
  </Card>

  <Card title="Applications" href="/configuration/application">
    Deploy applications using container images
  </Card>

  <Card title="Git Repository Access" href="/configuration/organization/git-repository-access">
    Configure Git repository access
  </Card>

  <Card title="Helm Repository" href="/configuration/organization/helm-repository">
    Manage Helm chart repositories
  </Card>
</CardGroup>
