Basic namespace operations

更新时间:
复制 MD 格式

You can configure namespaces to manage collections of repositories, including their permissions and properties. This topic describes basic operations on namespaces.

Namespace best practices

A namespace is a collection of repositories. As a best practice, group repositories for the same company or organization into a single namespace.

  • Use a company name as the namespace, for example, aliyun or alibaba.

  • Use a team or organization name as the namespace, for example, misaka-team.

Basic namespace operations

  • Create a namespace

    • Log on to the Container Registry console. In the navigation pane on the left, click Instances. On the Instances page, click the Personal Edition instance. On the instance management page, in the navigation pane on the left, choose Repository > Namespace. On the Namespace page, click Create Namespace in the upper-left corner. Enter a name for the namespace and click Confirm.

      Note

      You can delete a namespace that you no longer need. This action is irreversible, so proceed with caution.

    • An Alibaba Cloud account can create up to 3 namespaces.

  • Configure namespace settings

    • By default, when you push an image, the system automatically creates a repository if a repository with the same name does not already exist.

      To disable this behavior, turn off Automatically Create Repository.

    • By default, automatically created repositories are private.

      To make automatically created repositories public by default, set Default Repository Type to public.