Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion content/manuals/docker-hub/repos/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ In this section, learn how to:
- [Automated builds](./manage/builds/_index.md): Integrate with GitHub or
Bitbucket for automated builds. Every code change triggers an image
rebuild, supporting continuous integration and delivery.


- [Archive](./archive.md) an outdated or unsupported repository.
- [Delete](./delete.md) a repository.
- [Manage personal settings](./settings.md): For your account, you can set personal
settings for repositories, including default repository privacy and autobuild
Expand Down
58 changes: 58 additions & 0 deletions content/manuals/docker-hub/repos/archive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
description: Learn how to archive or activate a repository on Docker Hub
keywords: Docker Hub, Hub, repositories, archive, activate
title: Archive or activate a repository
linkTitle: Archive
toc_max: 3
weight: 35
---

You can archive a repository to avoid using outdated or unsupported images in
your workflow. Docker Hub helps you identify outdated repositories that haven't
been updated in over a year by displaying an icon ({{< inline-image
src="./images/outdated-icon.webp" alt="outdated icon" >}}) next to the
repositories on the [**Repositories** page](https://hub.docker.com/repositories/).

When a repository is archived, the following occurs:

- The repository information can't be modified.
- New images can't be pushed to the repository.
- An **Archived** label is displayed on the public repository page.
- Users can still pull the images.

You can activate an archived repository to remove the archived state. When
activated, the following occurs:

- The repository information can be modified.
- New images can be pushed to the repository.
- The **Archived** label is removed on the public repository page.

## Archive a repository

1. Sign in to [Docker Hub](https://hub.docker.com).
2. Select **Repositories**.

A list of your repositories appears.

3. Select a repository.

The **General** page for the repository appears.

4. Select the **Settings** tab.
5. Select **Archive repository**.
6. Enter the name of your repository to confirm.
7. Select **Archive**.

## Activate an archived repository

1. Sign in to [Docker Hub](https://hub.docker.com).
2. Select **Repositories**.

A list of your repositories appears.

3. Select a repository.

The **General** page for the repository appears.

4. Select the **Settings** tab.
5. Select **Activate image**.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions content/manuals/docker-hub/repos/manage/information.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ Each repository can include a description, an overview, and categories to help
users understand its purpose and usage. Adding clear repository information
ensures that others can find your images and use them effectively.

You can only modify the repository information of active repositories. If a
repository is archived, you must activate it to modify the information. For more
details, see [Activate an archived
repository](../archive.md#activate-an-archived-repository).


## Repository description

The description appears in search results when using the `docker search` command
Expand Down