Updated on 2024-06-19 GMT+08:00

Setting Image Attributes

Scenario

After pushing an image, you can set image attributes, including its type (private by default), category and description.

Public images can be pulled by all users; whereas the access to private images requires corresponding permissions. You can add permissions, namely, read, write, or manage, to allow users to access your private images. For details, see Granting Permissions of a Specific Image.

Procedure

  1. Log in to the SWR console.
  2. In the navigation pane, choose My Images and click the desired image.
  3. On the details page, click Edit in the upper right corner. In the dialog box displayed, set Sharing Type (Public or Private), Category, and Description, and click OK.

    Figure 1 Editing an image
    Table 1 Editing an image

    Parameter

    Description

    Organization

    The organization to which the image belongs

    Image

    Image name

    Sharing Type

    The following options are available:

    • Public
    • Private
    NOTE:

    Public images can be pulled and used by all users.

    • If your machine and the image repository are in the same region, you can access the image repository through private networks.
    • If your machine and the image repository are in different regions, the node must have access to the public network to pull images from the image repository.

    Category

    The following options are available:

    • Application server
    • Linux
    • Arm
    • Framework & Application
    • Database
    • Language
    • Others

    Description

    Image description. Enter a maximum of 30,000 characters.