|
@@ -2,14 +2,20 @@
|
|
|
|
|
|
|
|
- [`6.0.45-jre7`, `6.0-jre7`, `6-jre7`, `6.0.45`, `6.0`, `6` (*6/jre7/Dockerfile*)](https://github.com/docker-library/tomcat/blob/ec75141e3cb6276b07d66c16042152e2d4de119c/6/jre7/Dockerfile)
|
|
- [`6.0.45-jre7`, `6.0-jre7`, `6-jre7`, `6.0.45`, `6.0`, `6` (*6/jre7/Dockerfile*)](https://github.com/docker-library/tomcat/blob/ec75141e3cb6276b07d66c16042152e2d4de119c/6/jre7/Dockerfile)
|
|
|
- [`6.0.45-jre8`, `6.0-jre8`, `6-jre8` (*6/jre8/Dockerfile*)](https://github.com/docker-library/tomcat/blob/ec75141e3cb6276b07d66c16042152e2d4de119c/6/jre8/Dockerfile)
|
|
- [`6.0.45-jre8`, `6.0-jre8`, `6-jre8` (*6/jre8/Dockerfile*)](https://github.com/docker-library/tomcat/blob/ec75141e3cb6276b07d66c16042152e2d4de119c/6/jre8/Dockerfile)
|
|
|
-- [`7.0.70-jre7`, `7.0-jre7`, `7-jre7`, `7.0.70`, `7.0`, `7` (*7/jre7/Dockerfile*)](https://github.com/docker-library/tomcat/blob/7c4365e43f352c981a97eae5090bb055a68ff6a9/7/jre7/Dockerfile)
|
|
|
|
|
-- [`7.0.70-jre8`, `7.0-jre8`, `7-jre8` (*7/jre8/Dockerfile*)](https://github.com/docker-library/tomcat/blob/7c4365e43f352c981a97eae5090bb055a68ff6a9/7/jre8/Dockerfile)
|
|
|
|
|
-- [`8.0.36-jre7`, `8.0-jre7`, `8-jre7`, `jre7`, `8.0.36`, `8.0`, `8`, `latest` (*8.0/jre7/Dockerfile*)](https://github.com/docker-library/tomcat/blob/8323df4824d3661f094a1a6c30ed7e13c0536b9e/8.0/jre7/Dockerfile)
|
|
|
|
|
-- [`8.0.36-jre8`, `8.0-jre8`, `8-jre8`, `jre8` (*8.0/jre8/Dockerfile*)](https://github.com/docker-library/tomcat/blob/8323df4824d3661f094a1a6c30ed7e13c0536b9e/8.0/jre8/Dockerfile)
|
|
|
|
|
-- [`8.5.3-jre8`, `8.5-jre8`, `8.5.3`, `8.5` (*8.5/jre8/Dockerfile*)](https://github.com/docker-library/tomcat/blob/8323df4824d3661f094a1a6c30ed7e13c0536b9e/8.5/jre8/Dockerfile)
|
|
|
|
|
-- [`9.0.0.M8-jre8`, `9.0.0-jre8`, `9.0-jre8`, `9-jre8`, `9.0.0.M8`, `9.0.0`, `9.0`, `9` (*9.0/jre8/Dockerfile*)](https://github.com/docker-library/tomcat/blob/8323df4824d3661f094a1a6c30ed7e13c0536b9e/9.0/jre8/Dockerfile)
|
|
|
|
|
-
|
|
|
|
|
-[](https://imagelayers.io/?images=tomcat:6.0.45-jre7,tomcat:6.0.45-jre8,tomcat:7.0.70-jre7,tomcat:7.0.70-jre8,tomcat:8.0.36-jre7,tomcat:8.0.36-jre8,tomcat:8.5.3-jre8,tomcat:9.0.0.M8-jre8)
|
|
|
|
|
|
|
+- [`7.0.70-jre7`, `7.0-jre7`, `7-jre7`, `7.0.70`, `7.0`, `7` (*7/jre7/Dockerfile*)](https://github.com/docker-library/tomcat/blob/5f1abae99c0b1ebbd4f020bc4b5696619d948cfd/7/jre7/Dockerfile)
|
|
|
|
|
+- [`7.0.70-jre7-alpine`, `7.0-jre7-alpine`, `7-jre7-alpine`, `7.0.70-alpine`, `7.0-alpine`, `7-alpine` (*7/jre7-alpine/Dockerfile*)](https://github.com/docker-library/tomcat/blob/5f1abae99c0b1ebbd4f020bc4b5696619d948cfd/7/jre7-alpine/Dockerfile)
|
|
|
|
|
+- [`7.0.70-jre8`, `7.0-jre8`, `7-jre8` (*7/jre8/Dockerfile*)](https://github.com/docker-library/tomcat/blob/5f1abae99c0b1ebbd4f020bc4b5696619d948cfd/7/jre8/Dockerfile)
|
|
|
|
|
+- [`7.0.70-jre8-alpine`, `7.0-jre8-alpine`, `7-jre8-alpine` (*7/jre8-alpine/Dockerfile*)](https://github.com/docker-library/tomcat/blob/5f1abae99c0b1ebbd4f020bc4b5696619d948cfd/7/jre8-alpine/Dockerfile)
|
|
|
|
|
+- [`8.0.36-jre7`, `8.0-jre7`, `8-jre7`, `jre7`, `8.0.36`, `8.0`, `8`, `latest` (*8.0/jre7/Dockerfile*)](https://github.com/docker-library/tomcat/blob/5f1abae99c0b1ebbd4f020bc4b5696619d948cfd/8.0/jre7/Dockerfile)
|
|
|
|
|
+- [`8.0.36-jre7-alpine`, `8.0-jre7-alpine`, `8-jre7-alpine`, `jre7-alpine`, `8.0.36-alpine`, `8.0-alpine`, `8-alpine`, `alpine` (*8.0/jre7-alpine/Dockerfile*)](https://github.com/docker-library/tomcat/blob/5f1abae99c0b1ebbd4f020bc4b5696619d948cfd/8.0/jre7-alpine/Dockerfile)
|
|
|
|
|
+- [`8.0.36-jre8`, `8.0-jre8`, `8-jre8`, `jre8` (*8.0/jre8/Dockerfile*)](https://github.com/docker-library/tomcat/blob/5f1abae99c0b1ebbd4f020bc4b5696619d948cfd/8.0/jre8/Dockerfile)
|
|
|
|
|
+- [`8.0.36-jre8-alpine`, `8.0-jre8-alpine`, `8-jre8-alpine`, `jre8-alpine` (*8.0/jre8-alpine/Dockerfile*)](https://github.com/docker-library/tomcat/blob/5f1abae99c0b1ebbd4f020bc4b5696619d948cfd/8.0/jre8-alpine/Dockerfile)
|
|
|
|
|
+- [`8.5.3-jre8`, `8.5-jre8`, `8.5.3`, `8.5` (*8.5/jre8/Dockerfile*)](https://github.com/docker-library/tomcat/blob/5f1abae99c0b1ebbd4f020bc4b5696619d948cfd/8.5/jre8/Dockerfile)
|
|
|
|
|
+- [`8.5.3-jre8-alpine`, `8.5-jre8-alpine`, `8.5.3-alpine`, `8.5-alpine` (*8.5/jre8-alpine/Dockerfile*)](https://github.com/docker-library/tomcat/blob/5f1abae99c0b1ebbd4f020bc4b5696619d948cfd/8.5/jre8-alpine/Dockerfile)
|
|
|
|
|
+- [`9.0.0.M8-jre8`, `9.0.0-jre8`, `9.0-jre8`, `9-jre8`, `9.0.0.M8`, `9.0.0`, `9.0`, `9` (*9.0/jre8/Dockerfile*)](https://github.com/docker-library/tomcat/blob/5f1abae99c0b1ebbd4f020bc4b5696619d948cfd/9.0/jre8/Dockerfile)
|
|
|
|
|
+- [`9.0.0.M8-jre8-alpine`, `9.0.0-jre8-alpine`, `9.0-jre8-alpine`, `9-jre8-alpine`, `9.0.0.M8-alpine`, `9.0.0-alpine`, `9.0-alpine`, `9-alpine` (*9.0/jre8-alpine/Dockerfile*)](https://github.com/docker-library/tomcat/blob/5f1abae99c0b1ebbd4f020bc4b5696619d948cfd/9.0/jre8-alpine/Dockerfile)
|
|
|
|
|
+
|
|
|
|
|
+[](https://imagelayers.io/?images=tomcat:6.0.45-jre7,tomcat:6.0.45-jre8,tomcat:7.0.70-jre7,tomcat:7.0.70-jre7-alpine,tomcat:7.0.70-jre8,tomcat:7.0.70-jre8-alpine,tomcat:8.0.36-jre7,tomcat:8.0.36-jre7-alpine,tomcat:8.0.36-jre8,tomcat:8.0.36-jre8-alpine,tomcat:8.5.3-jre8,tomcat:8.5.3-jre8-alpine,tomcat:9.0.0.M8-jre8,tomcat:9.0.0.M8-jre8-alpine)
|
|
|
|
|
|
|
|
For more information about this image and its history, please see [the relevant manifest file (`library/tomcat`)](https://github.com/docker-library/official-images/blob/master/library/tomcat). This image is updated via [pull requests to the `docker-library/official-images` GitHub repo](https://github.com/docker-library/official-images/pulls?q=label%3Alibrary%2Ftomcat).
|
|
For more information about this image and its history, please see [the relevant manifest file (`library/tomcat`)](https://github.com/docker-library/official-images/blob/master/library/tomcat). This image is updated via [pull requests to the `docker-library/official-images` GitHub repo](https://github.com/docker-library/official-images/pulls?q=label%3Alibrary%2Ftomcat).
|
|
|
|
|
|
|
@@ -57,6 +63,22 @@ The default Tomcat environment in the image for version 6 is:
|
|
|
|
|
|
|
|
The configuration files are available in `/usr/local/tomcat/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`.
|
|
The configuration files are available in `/usr/local/tomcat/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`.
|
|
|
|
|
|
|
|
|
|
+# Image Variants
|
|
|
|
|
+
|
|
|
|
|
+The `tomcat` images come in many flavors, each designed for a specific use case.
|
|
|
|
|
+
|
|
|
|
|
+## `tomcat:<version>`
|
|
|
|
|
+
|
|
|
|
|
+This is the defacto image. If you are unsure about what your needs are, you probably want to use this one. It is designed to be used both as a throw away container (mount your source code and start the container to start your app), as well as the base to build other images off of.
|
|
|
|
|
+
|
|
|
|
|
+## `tomcat:alpine`
|
|
|
|
|
+
|
|
|
|
|
+This image is based on the popular [Alpine Linux project](http://alpinelinux.org), available in [the `alpine` official image](https://hub.docker.com/_/alpine). Alpine Linux is much smaller than most distribution base images (~5MB), and thus leads to much slimmer images in general.
|
|
|
|
|
+
|
|
|
|
|
+This variant is highly recommended when final image size being as small as possible is desired. The main caveat to note is that it does use [musl libc](http://www.musl-libc.org) instead of [glibc and friends](http://www.etalabs.net/compare_libcs.html), so certain software might run into issues depending on the depth of their libc requirements. However, most software doesn't have an issue with this, so this variant is usually a very safe choice. See [this Hacker News comment thread](https://news.ycombinator.com/item?id=10782897) for more discussion of the issues that might arise and some pro/con comparisons of using Alpine-based images.
|
|
|
|
|
+
|
|
|
|
|
+To minimize image size, it's uncommon for additional related tools (such as `git` or `bash`) to be included in Alpine-based images. Using this image as a base, add the things you need in your own Dockerfile (see the [`alpine` image description](https://hub.docker.com/_/alpine/) for examples of how to install packages if you are unfamiliar).
|
|
|
|
|
+
|
|
|
# License
|
|
# License
|
|
|
|
|
|
|
|
View [license information](https://www.apache.org/licenses/LICENSE-2.0) for the software contained in this image.
|
|
View [license information](https://www.apache.org/licenses/LICENSE-2.0) for the software contained in this image.
|