Updated on 2025-11-25 GMT+08:00

Namespace Management

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.

After a repository is created, a public namespace library will be automatically created for it.

Creating a Namespace

  1. Log in to the SWR Enterprise Edition console and switch to the target region in the upper left corner of the page. On the displayed page, click the name of the target repository.
  2. In the navigation pane, choose Namespaces.
  3. In the upper right corner, click Create Namespace.
  4. Enter a namespace name and select a namespace type.

    Figure 1 Creating a namespace
    • Public: Any user can pull artifacts from the namespace after login. If other operations on the artifacts are required, authorize users on the IAM console.
    • Private: Only users authorized on the IAM console can perform operations on artifacts in the namespace.

  5. Click OK.

    After a namespace is created, you can check its details in the list or card view. Click or in the upper right corner to switch the view.

Deleting a Namespace

  • List view: Select a namespace and click Delete in the Operation column. In the displayed dialog box, enter DELETE and click OK.
  • Card view: Select a namespace and click . In the displayed dialog box, enter DELETE and click OK.
Figure 2 Deleting a namespace

To avoid deleting important data by mistake, namespaces containing container images cannot be deleted. You need to delete the images first before deleting the namespaces.