AppAgile tomcat8 Dockerfile
This STI tomcat docker image inherits from RedHats Xpaas tomcat8 docker image. It is extended with common tools for appagile images and hardened: – suppress version info in header – removed samples, docs and host-manager and manager applicatons – suppress stacktrace output in case of applications thows exception
How to build this Dockerfile
Building this Dockerfile requires a Red Hat Enterprise Linux 7 host system with Software Collections entitlements available.
To build the Dockerfile, run:
docker build -t=appagile-tomcat8 .
General container help
docker run THIS_IMAGE container-usage to get this help.
docker run -ti THIS_IMAGE bash to obtain interactive shell.
docker exec -ti CONTAINERID container-entrypoint to access already running container.
In order to get the container ID after running the image, pass
--cidfile= option to the
docker run command. That will instruct Docker to write a file with the container ID.
You may try
-e CONT_DEBUG=VAL with VAL up to 3 to get more verbose debugging info.