You can use Docker to deploy applications on EDAS to improve your resource usage.
Perform the following steps to deploy an application on EDAS using Docker:
Create a Docker host cluster, and add a Docker instance to the cluster.
You do not need to manually install EDAS Agent on ECS where the Docker application is to be installed.
The Docker application deployed on EDAS shares the IP address and network with the host at present. It will have an independent IP address and network in VPC in the future.
Create an application.
Use Docker to create an application. For details, see the Docker-related content in Publish an application.
Deploy an application.
You can upload a WAR package or create a Docker image to deploy an application using Docker.
Upload a WAR package
The method for deploying an application using Docker is the same as that for deploying an EDAS common application. For details, see Publish an application. After the WAR package is uploaded, it runs in a Docker container.
Create a Docker image
This section mainly describes how to use a Docker image to deploy an application.
EDAS provides open APIs for deploying a Docker application. You can build a Jenkins continuous integration platform by yourself. After the code is committed by calling the open APIs of EDAS, the application is automatically packed as a Docker image and deployed on EDAS. For details, see Build continuous integration.
After deploying an application, you can monitor and manage it on the application management page of the EDAS console.
You can monitor and manage Docker containers in Cluster Management under Resources of the EDAS console.