Archive or unarchive a repository

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 ( outdated icon ) next to them on the Repositories page. 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.

  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.

  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.