You can create an image through manual configuration or Dockerfile uploading. Please prepare Dockerfiles as needed in advance.
Image creation is available only in the private repository. |
On the top navigation bar, click Business Apps.
From the left navigation pane, select Software Center > Image Repositories.
Click the Private Repository tab.
Click the name of a project to open the image list page for the project.
Click Create Image.
Configure basic and advanced image parameters as required.
Table-1 Configuring image parameters
Parameter |
Description |
|
Image Category |
Select an image category. |
|
Image Name |
Specify an image name according to the prompted rules. One image can have multiple versions. |
|
Image Version |
Specify an image version. An image version must be unique for an image. |
|
Creation Method |
Select an image creation method. Options include Manual Configuration and Upload Dockerfile Files. |
|
Manual Configuration |
Image Source |
Select an image from an image repository. |
OS/ARCH |
This field is available only if the selected image in the Image Source field is a multi-architecture image. To create a multi-architecture image: 1. Execute the following commands to pull the images that use different architectures: docker pull image 1:tag docker pull image 2:tag 2. Execute the following command to create docker manifest: docker manifest create --insure image name:tag image 1:tag image 2:tag 3. Execute the following command to push the image to CloudOS: docker manifest push image name:tag |
|
Files |
Select one or more files used by the image. The file formats are not limited. |
|
Advanced Settings |
|
|
Upload Dockerfile Files |
Files |
Select one or more local Dockerfiles. |
Dockerfile Preview |
Preview Dockerfiles. For manual configuration, the system automatically generates and displays Dockerfiles based on the selected image and configuration files. |