Run Engine command framework
The Run Engine command framework provides predefined commands, that you can use
to change environment parameters or container configurations. This framework is built
into the HCL provided Docker images.For example, you can use Run Engine
commands to update the WebSphere Application Server JVM parameters by using the a predefined
set-system-property Run Engine command.
Implementation methods
Although you can use Run Engine commands inside a running container, it is recommended that you build new Docker images to set new configurations by default, or pass in the parameters during Docker start up. For example,- Create a Dockerfile and define Run Engine commands in the Dockerfile. Then use the Dockerfile to build a new image so that your new environment parameters or configurations are set by default. For more information, see Building a custom Docker image from a deployable package.
- Each Docker image contains a call to a preconfigure.sh script. Create your own preconfigure.sh script to set environment variables or container configurations. For more information, see Docker container start up logic for HCL Commerce Version 9.1.