Unable to start Enterprise Dashboard in Docker container

Document ID : KB000115255
Last Modified Date : 18/09/2018
Show Technical Document Details
Issue:
Docker images were built successfully in Dockers but unable to start Enterprise Dashboard and getting the below errors:

. dradisEDB already exists. 

. docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"/opt/CA/DevTest/bin/EnterpriseDashboard\": stat /opt/CA/DevTest/bin/EnterpriseDashboard: no such file or directory": unknown 
Environment:
DevTest supported versions
Cause:

. ​dradisEDB already exists. 
Another instance of EnterpriseDashboard running, caused the above error. 


. docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"/opt/CA/DevTest/bin/EnterpriseDashboard\": stat /opt/CA/DevTest/bin/EnterpriseDashboard: no such file or directory": unknown 

Looks like the path to EnterpriseDashboard is not right. Removed the "CA" in the path and started the Enterprise Dashboard again (per the documentation) as below and able to start it. 
Resolution:
. ​dradisEDB already exists. 
Another instance of EnterpriseDashboard running, caused the above error. Killing the existing Enterprise Dashboard instance resolved this issue.


. docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"/opt/CA/DevTest/bin/EnterpriseDashboard\": stat /opt/CA/DevTest/bin/EnterpriseDashboard: no such file or directory": unknown 

The path to EnterpriseDashboard is not right. The Enterprise Dashboard path is related to the container (it should be /opt/devtest/bin/EnterpriseDashboard) and not the path on physical machine (/opt/CA/DevTest/bin/EnterpriseDashboard). Changed the path and started the Enterprise Dashboard again  as below and able to start it. 

docker run -d -p 1506:1506 dradis-licensed:latest /opt/devtest/bin/EnterpriseDashboard 
 
Additional Information:

. https://docops.ca.com/devtest-solutions/10-3/en/installing/docker-containers#DockerContainers-StartingEnterpriseDashboardContainer

. https://communities.ca.com/docs/DOC-231178485-devtests-adventures-in-dockerland