Delete a single artifact, a repository with every artifact in it, or a whole registry project with everything it holds. To remove only untagged images, use Image Cleanup instead; see Clean up unused images.
Before you begin
Section titled “Before you begin”- You have pulled or copied elsewhere any image you want to keep. See Push and pull images.
- If you are a team member, your role has the delete permission for Container Registry.
Delete an artifact
Section titled “Delete an artifact”Deleting an artifact removes it and every tag on it.
- In MyAccount, under Storage, click Container Registry, and click your project. On its Repositories tab, click the repository’s name. Its Info tab lists the artifacts.
- Open the artifact’s menu and click Delete.
- Confirm Are you sure you want to delete
Artifact? , which names the artifact by its digest.
The artifact leaves the list, and Storage Used on the Image Cleanup tab goes down.
Delete a repository
Section titled “Delete a repository”Deleting a repository deletes every artifact in it.
- In MyAccount, under Storage, click Container Registry, and click your project. On its Repositories tab, open the repository’s Actions menu and click Delete.
- Confirm Delete Repository asks
Are you sure you want to delete
/ Confirm to delete it.Repository?
The repository leaves the list, and Storage Used on the Image Cleanup tab goes down.
Delete a project
Section titled “Delete a project”Deleting a project deletes its replication rules, its source registries, and every repository and artifact in it, then the project itself. None of it can be recovered.
Before you delete a project, stop any replication run that is in progress. To stop a run, click the rule on the Replications Rules tab, and in the run’s menu click Stop; see Create a replication rule.
- In MyAccount, under Storage, click Container Registry. In the project list, open your project’s Actions menu and click Delete. Confirm Delete Project opens.
- Check I understand and I want to delete my Project:
? , which makes Delete available. - Click Delete.
The project reads Terminating until it is gone, and E2E emails the account’s owner that the deletion has started. The project is billed by the minute until its deletion completes. Once it is gone, the project leaves the list.
If the deletion is refused, see Troubleshooting Container Registry. To start again, see Create a registry project.