Log on to the Container Service console.
In the left-side navigation pane, click Images and Templates > Orchestration Templates.
Click Create in the upper right corner.
On the Create Orchestration page, complete the following configurations:
- Name: Enter a name for the template.
- Description: Enter the information about this template.
Content: The yml file of Docker Compose. For more information, see Compose file details.
The services contained in the orchestration template are displayed on the right side.
For the Compose V1 and Compose V2 orchestration templates:
To modify a service, click Edit. The Create Service dialog box appears. Modify the configurations and then click OK.
To delete a service, click Delete.
To add another service to the orchestration template, click Add Service. The Create Service dialog box appears. Select an image and complete the other configurations. Click OK.
For the Compose V3 orchestration templates:
You can modify the content in the template directly or click Delete to delete the service.
Click Create Orchestration after completing the configurations.
You can view your created orchestration templates under My Orchestrations on the Orchestration List page.
Click Details to view the detailed information of the orchestration template or click Create Application to create an application by using this orchestration template.