hub: add archive repo (#21553)

<!--Delete sections as needed -->

## Description

- Added topic for archive or activate a repository
- Updated repo landing page topic to add new archive topic
- Added note to repo information topic

Modified pages:
- https://deploy-preview-21553--docsdocker.netlify.app/docker-hub/repos/
-
https://deploy-preview-21553--docsdocker.netlify.app/docker-hub/repos/archive/
-
https://deploy-preview-21553--docsdocker.netlify.app/docker-hub/repos/manage/information/

## Related issues or tickets

ENGDOCS-2337

## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [ ] Technical review
- [ ] Editorial review
- [ ] Product review

---------

Signed-off-by: Craig <craig.osterhout@docker.com>
Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
Craig Osterhout 2024-12-09 08:36:19 -08:00 committed by GitHub
parent f9b0855d87
commit 8a805f4f0b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 70 additions and 1 deletions

View File

@ -132,6 +132,7 @@ Zsh
[Ss]yscalls?
[Ss]ysfs
[Tt]oolchains?
[Uu]narchived?
[Vv]irtiofs
[Vv]irtualize
[Ww]alkthrough

View File

@ -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

View File

@ -0,0 +1,63 @@
---
description: Learn how to archive or unarchive a repository on Docker Hub
keywords: Docker Hub, Hub, repositories, archive, unarchive
title: Archive or unarchive a repository
linkTitle: Archive
toc_max: 3
weight: 35
---
You can archive a repository on Docker Hub to mark it as read-only and indicate
that it's no longer actively maintained. This helps prevent the use of outdated
or unsupported images in workflows. Archived repositories can also be unarchived
if needed.
Docker Hub highlights 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 them on the [**Repositories**
page](https://hub.docker.com/repositories/). Consider reviewing these
highlighted repositories and archiving them if necessary.
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 unarchive an archived repository to remove the archived state. When
unarchived, 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**.
## Unarchive 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 **Unarchive repository**.

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 B

View File

@ -12,6 +12,10 @@ 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 repositories that aren't
archived. If a repository is archived, you must unarchive it to modify the
information. For more details, see [Unarchive a repository](../archive.md#unarchive-a-repository).
## Repository description
The description appears in search results when using the `docker search` command