A namespace allows you to effectively manage a collection of repositories, including repository permissions and repository attributes. This topic describes the basic operations on a namespace.

Best practices

A namespace is a collection of repositories. We recommend that you place the repositories of a company or an organization in the same namespace.

  • Example of using the company name as the name of a namespace: aliyun or alibaba
  • Example of using the team or organization name as the name of a namespace: misaka-team

Basic operations on a namespace

  • Create a namespace
    • Click Create Namespace. In the dialog box that appears, enter the name of the namespace.Create a namespace
    • Currently, each Alibaba Cloud account can create a maximum of three namespaces.
  • Configure a namespace
    • By default, if you push an image to a repository that does not exist, Container Registry can automatically create the repository based on the repository name that you specify.

      To disable this function, set Automatically Create Repository to Off.

    • By default, the repository automatically created based on a pushed image is private.

      You can set Default Repository Type to Public to change the repository attribute.

    Set the repository attribute