Updated on 2025-04-30 GMT+08:00

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.

Constraints

Table 1 Maximum number of tags allowed for a single namespace

Item

Quota

Number of tags for a namespace

20

Adding a Namespace Tag

  1. Log in to the SWR console. In the upper left corner, switch to your region.
  2. Locate the repository you want to add a namespace tag for and click the repository name. The repository details page is displayed.
  3. In the navigation pane, choose Namespaces. Click in the upper right corner of the page. The namespaces are listed.
  4. Locate the namespace you want to add a tag for and click Manage Tag in the Operation column.

    Figure 1 Namespace management

  5. In the Manage Tag dialog box, click to add a tag.

    Figure 2 Tag management

  6. Enter a tag key and value.

Modifying a Namespace Tag

  1. Log in to the SWR console. In the upper left corner, switch to your region.
  2. Locate the repository you want to modify a namespace tag for and click the repository name. The repository details page is displayed.
  3. In the navigation pane, choose Namespaces.
  4. Locate the namespace you want to modify a tag for and click Manage Tag in the Operation column.
  5. Enter one or more new keys or values.

Deleting a Namespace Tag

  1. Log in to the SWR console. In the upper left corner, switch to your region.
  2. Locate the repository whose namespace tag needs to be deleted and click the repository name. The repository details page is displayed.
  3. In the navigation pane, choose Namespaces.
  4. Locate the namespace whose tag needs to be deleted and click Manage Tag in the Operation column.
  5. Click Delete on the right of the tag.

Querying Namespaces by Tag

  1. Log in to the SWR console. In the upper left corner, switch to your region.
  2. Locate the repository you want to query the namespaces of and click the repository name. The repository details page is displayed.
  3. In the navigation pane, choose Namespaces.
  4. Configure one or more search filters. The search result will be displayed in the list below.