> For the complete documentation index, see [llms.txt](https://docs.portainer.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.portainer.io/sts/admin/registries/manage.md).

# Manage a registry

The registry manager extends your container management experience by giving you the ability to browse defined registries and manipulate their content. By using this feature, container users enjoy the benefit of having a single interface to manage any Docker registry deployment, providing a consistent look and feel across any provider.

## Adding a tag

From the menu select **Registries**, select the registry you want to manage then click **browse**. From the list, select the repository you want to manage.

To add a new tag, you must clone an existing tag. Locate the tag you want to use as a template, click the **Clone** action, enter the new name and click **Clone Tag**.

<figure><img src="/files/D3LWrLixUIwg7jBnOWal" alt=""><figcaption></figcaption></figure>

## Retagging

{% hint style="info" %}
If you host your own Docker registry, and you want the ability to retag images, you will need to add the following to your Docker registry's environment variables:

`REGISTRY_STORAGE_DELETE_ENABLED=TRUE`
{% endhint %}

From the menu select **Registries**, choose the registry you want to manage and click **browse**. From the list of repositories, select the repository you want to manage.

To retag, you must clone and then delete an existing tag. Locate the tag you want to retag, click the **Clone** action, enter the new name and click **Clone Tag**. Then, remove the original tag by ticking the checkbox next to the tag and click **Remove**.

<figure><img src="/files/RPzCrJJfPMXxK4vWqDJU" alt=""><figcaption></figcaption></figure>

## Removing a tag

{% hint style="info" %}
If you host your own Docker registry, and want the ability to remove tags, you will need to add the following to your Docker registry's environment variables:

`REGISTRY_STORAGE_DELETE_ENABLED=TRUE`
{% endhint %}

From the menu select **Registries**, select the registry you want to manage then click **Browse**. From the list, select the repository you want to manage.

Tick the checkbox next to the tag you want to remove then click **Remove**. When the confirmation message appears, if you're sure, click **Delete**.

<figure><img src="/files/nIXwyamph8yzFlflyL45" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.portainer.io/sts/admin/registries/manage.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
