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.
There is no limit on the number of image technology stacks that you can create.
Log on to the console. In the navigation pane on the left, click Image Center > Image Technology Stacks.
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.
Click Submit.
Create an image version
After you create an image technology stack, you can create different image versions for it.
There is no limit on the number of image versions that you can create.
On the Image Technology Stacks page, click the name of the technology stack for which you want to create an image version.
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.
NoteIf 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.
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.
NoteThe 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.