AI AssetsMirror Repository
Custom Images
This section describes how to create custom images.
Introduction
The AI computing platform supports users to build custom images based on preset images or Dockerfile.
Prerequisites
- The management console account and password have been obtained.
- Personal real-name authentication has been completed and the account balance is greater than 0 yuan.
Create an Image
- Log in to the management console.
- In the top navigation bar, click Products and Services > AI Computing Platform to go to its overview page.
- In the left navigation bar, select Image Repository. The default page for the preset image list is displayed.
- Select the Custom Image Repository tab and click New Image.
- In the New Image window, enter the image name and description, then click OK.
Note:
- The image name must be at least 3 English characters and can only start with a lowercase letter or number. The supported formats are "lowercase English letters/numbers/_/-/.".
- Description is optional and users can fill it out according to actual situation.
Build the Image
- After the image is created, click the name of the image to be built to enter its detailed information page.
- On the tag list page, click Build Image.
- In the pop-up Build Image window, configure various parameters and click OK.
Parameters
Parameter | Description |
---|---|
Label | The tag of the currently built image, user-defined. |
Image Type | Supports pre-built images or Dockerfile-based images. If using a preset image, users need to configure the parameters. If using Dockerfile, users need to write the Dockerfile without ADD and COPY keywords. |
The successfully built image will be displayed in the tag list of the image details page with the status of success. Users can obtain the corresponding image pull command.