Image technology stacks

更新时间:
复制 MD 格式

You can use image technology stacks to manage base images and create custom technology stacks.

Create an image technology stack

When you create an image technology stack, you define its basic metadata.

Note

There is no limit on the number of image technology stacks that you can create.

  1. Log on to the console. In the navigation pane on the left, click Image Center > Image Technology Stacks.

  2. Click Create Image Technology Stack. In the dialog box that appears, configure the following parameters.

    Configuration Item

    Description

    Technology stack name

    Required. The name can contain letters, digits, and hyphens. It must start with a letter and end with a letter or a digit. The name can be up to 32 characters long.

    The name of the technology stack cannot be changed after it is created.

    Technology stack description

    Required. Enter a description for the technology stack.

  3. Click Submit.

Create an image version

After you create an image technology stack, you can create different image versions for it.

Note

There is no limit on the number of image versions that you can create.

  1. On the Image Technology Stacks page, click the name of the technology stack for which you want to create an image version.

  2. Click Create Image Version and configure the following parameters.

    Configuration Item

    Description

    Image version name

    The name can contain letters, digits, and hyphens. It must start with a letter and end with a letter or a digit. The name can be up to 32 characters long. The version name cannot be changed after it is created.

    Base image information

    Select the image repository and base image version to use.

    Note

    If the base image is from an external Image Center, provide the username and password.

    Code package upload path

    The directory path for the code package in the image build. The path must start with /. The system copies the deployment package to the specified directory in the base image.

    Remarks

    Enter the Git address of the base image.

  3. Click Submit.

    After the version is created, a success message is displayed and the version is added to the list on the technology stack details page. On this page, you can view or delist the custom technology stack versions.

    Note

    • The system automatically generates the image version number. This number cannot be modified.

    • A delisted image version cannot be recovered. You cannot select a delisted version when you create an application service.