Apache TomEE is an all-Apache Java EE certified stack where Apache Tomcat is top dog.
431
Apache TomEE, pronounced "Tommy", is an all-Apache Java EE Web Profile certified stack where Apache Tomcat is top dog. Apache TomEE is assembled from a vanilla Apache Tomcat zip file. We start with Apache Tomcat, add our jars and zip up the rest. The result is Tomcat with added EE features - TomEE.
Run the default TomEE server (CMD ["catalina.sh", "run"]):
$ docker run -it --rm tomee:-- For example running Apache TomEE 1.7.2 with JRE 8 and Webprofile flavour will be:
$ docker run -it --rm tomee:8-jre-1.7.2-webprofile You can test it by visiting http://container-ip:8080 in a browser or, if you need access outside the host, on port 8888:
$ docker run -it --rm -p 8888:8080 tomee:-- You can then go to http://localhost:8888 or http://host-ip:8888 in a browser.
The configuration files are available in /usr/local/tomee/conf/. By default, no user is included in the "manager-gui" role required to operate the "/manager/html" web application. If you wish to use this app, you must define such a user in tomcat-users.xml.
You can also use this image as base image for deploying your war application. To do it you need to create a Dockerfile based on Tomee Docker image and add the war file in webapps directory:
COPY / /usr/local/tomee/webapps/
Content type
Image
Digest
Size
223.6 MB
Last updated
over 7 years ago
docker pull tomitribe/tomee:8-jre-8.0.0-M2-TT2-microprofile