We use different cdd file for each env ( eg, DEV, QA, PROD). So, how can I inject cdd file while starting the docker image during "docker run"?
Issue/Introduction
How can I give the cdd name during "Docker run"
Environment
All supported environment
Resolution
You can use environment variable CDD_FILE to specify the path and filename of the CDD. That follows the same rule of be-engine -c option, engine looks first in the file system, and then in the EAR file at runtime. For example:
docker run -p 8108:8108 -e "CDD_FILE=fd.cdd" fd:01