Managing Namespace Tags
Scenarios
A namespace is used to group container images into a category instead of storing them. A namespace is usually created for a project or department of an enterprise. You can add tags for namespaces to facilitate the search and management.
Prerequisites
Constraints
| Item | Quota |
|---|---|
| Number of tags for a namespace | 20 |
Adding a Tag to a Namespace
- Log in to the SWR console. In the upper left corner, switch to your region.
- Locate the repository you want to add a namespace tag for and click the repository name. The repository details page is displayed.
- In the navigation pane, choose Namespaces. Click
in the upper right corner of the page. The namespaces are listed. - Locate the namespace you want to add a tag for and click Manage Tag in the Operation column.
- In the Manage Tag dialog box, click
to add a tag. - Enter a tag key and value.
Modifying a Namespace Tag
- Log in to the SWR console. In the upper left corner, switch to your region.
- Locate the repository you want to modify a namespace tag for and click the repository name. The repository details page is displayed.
- In the navigation pane, choose Namespaces.
- Locate the namespace you want to modify a tag for and click Manage Tag in the Operation column.
- Enter one or more new keys or values.
Deleting a Namespace Tag
- Log in to the SWR console. In the upper left corner, switch to your region.
- Locate the repository whose namespace tag needs to be deleted and click the repository name. The repository details page is displayed.
- In the navigation pane, choose Namespaces.
- Locate the namespace whose tag needs to be deleted and click Manage Tag in the Operation column.
- Click Delete on the right of the tag.
Querying Namespaces by Tag
- Log in to the SWR console. In the upper left corner, switch to your region.
- Locate the repository you want to query the namespaces of and click the repository name. The repository details page is displayed.
- In the navigation pane, choose Namespaces.
- Configure one or more search filters. The search result will be displayed in the list below.