Hey guys,
I use the command below to build the container.
docker run -d --name camunda -p 8080:8080 \
-v /home/chenyiwu/camunda/Demo.war:/camunda/webapps/Demo.war \
camunda/camunda-bpm-platform:latest
Then, I enter the container.
Next, I command curl http://localhost:8080/engine-rest/deployment to check whether it is deployed, but I always can’t see Demo in the result list. The result I got are below:
[{“links”:[],“id”:“bee2f2af-6c4c-11ea-bb67-0242ac110002”,“name”:null,“source”:“process application”,“deploymentTime”:“2020-03-22T14:52:26.406+0000”,“tenantId”:null},{“links”:[],“id”:“bfbcb0e9-6c4c-11ea-bb67-0242ac110002”,“name”:“camunda-invoice”,“source”:“process application”,“deploymentTime”:“2020-03-22T14:52:27.743+0000”,“tenantId”:null}]
I find the forum friend meet the same problem(Deploying WAR file to Docker container using Tomcat not working), but I use his solution(build from Dockerfile) can’t work for me.