Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions,
see Getting Started with Amazon Web Services in China
(PDF).
You can delete tags from an individual resource.
- Amazon Web Services Management Console
-
Open the Amazon ECR console at
https://console.amazonaws.cn/ecr/.
-
From the navigation bar, select the Region to use.
-
On the Repositories page, on the
Public tab, choose the repository to view.
-
On the Repositories >
repository_name
page, select
Tags from the navigation pane.
-
On the Tags page, select
Edit.
-
On the Edit tags page, select Remove
for each tag you want to delete, and choose Save.
- Amazon CLI
You can delete one or more tags by using the Amazon CLI or an API.
The following example shows how to delete a tag from an existing public repository.
aws ecr-public untag-resource \
--resource-arn arn:aws:ecr-public::account_id
:repository/repository_name
\
--tag-keys tag_key
\
--region us-east-1