Docker Container Run
To start the containerized UpgradeUtilityWeb application, run
docker run format:(-v refers to Volumes):
$ docker run -d --restart unless-stopped --network=host --privileged -v /path/to/the/externallibs:/usr/local/tomee/externallibs/ -v /path/to/the/externallibs/uuwebconf:/usr/local/tomee/webapps/uuwebconf --env-file /path/to/the/uuweb_env.dat -p <App_External_Port>:<App_Container_Port> --name <Container_Name> --hostname localhost <Image_Name>:<Image_Tag> createServer.sh
docker run example:
docker run -d --restart unless-stopped --network=host --privileged -v /scratch/oipa/docker/upgradeutilityweb/externallibs/:/usr/local/tomee/externallibs/ -v /scratch/oipa/docker/upgradeutilityweb/externallibs/uuwebconf:/usr/local/tomee/webapps/uuwebconf --env-file /scratch/oipa/docker/upgradeutilityweb/uuweb_env.dat -p 7001:7001 --name upgradeutilityweb --hostname localhost upgradeutilityweb:12.0.3 createServer.sh
Check the docker logs in the PUTTY console by executing the below command:
$ docker logs -f upgradeutilityweb
Access the application when you see the Server startup in [xxxxxx] milliseconds message in the PUTTY console.