
library/tomcatMaintained by:
the Docker Community
Where to get help:
the Docker Community Slack, Server Fault, Unix & Linux, or Stack Overflow
Dockerfile links11.0.15-jdk25-temurin-noble, 11.0-jdk25-temurin-noble, 11-jdk25-temurin-noble, jdk25-temurin-noble, 11.0.15-jdk25-temurin, 11.0-jdk25-temurin, 11-jdk25-temurin, jdk25-temurin, 11.0.15-jdk25, 11.0-jdk25, 11-jdk25, jdk25, 11.0.15, 11.0, 11, latest
11.0.15-jre25-temurin-noble, 11.0-jre25-temurin-noble, 11-jre25-temurin-noble, jre25-temurin-noble, 11.0.15-jre25-temurin, 11.0-jre25-temurin, 11-jre25-temurin, jre25-temurin, 11.0.15-jre25, 11.0-jre25, 11-jre25, jre25
11.0.15-jdk25-temurin-jammy, 11.0-jdk25-temurin-jammy, 11-jdk25-temurin-jammy, jdk25-temurin-jammy
11.0.15-jre25-temurin-jammy, 11.0-jre25-temurin-jammy, 11-jre25-temurin-jammy, jre25-temurin-jammy
11.0.15-jdk21-temurin-noble, 11.0-jdk21-temurin-noble, 11-jdk21-temurin-noble, jdk21-temurin-noble, 11.0.15-jdk21-temurin, 11.0-jdk21-temurin, 11-jdk21-temurin, jdk21-temurin, 11.0.15-jdk21, 11.0-jdk21, 11-jdk21, jdk21
11.0.15-jre21-temurin-noble, 11.0-jre21-temurin-noble, 11-jre21-temurin-noble, jre21-temurin-noble, 11.0.15-jre21-temurin, 11.0-jre21-temurin, 11-jre21-temurin, jre21-temurin, 11.0.15-jre21, 11.0-jre21, 11-jre21, jre21
11.0.15-jdk21-temurin-jammy, 11.0-jdk21-temurin-jammy, 11-jdk21-temurin-jammy, jdk21-temurin-jammy
11.0.15-jre21-temurin-jammy, 11.0-jre21-temurin-jammy, 11-jre21-temurin-jammy, jre21-temurin-jammy
11.0.15-jdk17-temurin-noble, 11.0-jdk17-temurin-noble, 11-jdk17-temurin-noble, jdk17-temurin-noble, 11.0.15-jdk17-temurin, 11.0-jdk17-temurin, 11-jdk17-temurin, jdk17-temurin, 11.0.15-jdk17, 11.0-jdk17, 11-jdk17, jdk17
11.0.15-jre17-temurin-noble, 11.0-jre17-temurin-noble, 11-jre17-temurin-noble, jre17-temurin-noble, 11.0.15-jre17-temurin, 11.0-jre17-temurin, 11-jre17-temurin, jre17-temurin, 11.0.15-jre17, 11.0-jre17, 11-jre17, jre17
11.0.15-jdk17-temurin-jammy, 11.0-jdk17-temurin-jammy, 11-jdk17-temurin-jammy, jdk17-temurin-jammy
11.0.15-jre17-temurin-jammy, 11.0-jre17-temurin-jammy, 11-jre17-temurin-jammy, jre17-temurin-jammy
10.1.50-jdk25-temurin-noble, 10.1-jdk25-temurin-noble, 10-jdk25-temurin-noble, 10.1.50-jdk25-temurin, 10.1-jdk25-temurin, 10-jdk25-temurin, 10.1.50-jdk25, 10.1-jdk25, 10-jdk25, 10.1.50, 10.1, 10
10.1.50-jre25-temurin-noble, 10.1-jre25-temurin-noble, 10-jre25-temurin-noble, 10.1.50-jre25-temurin, 10.1-jre25-temurin, 10-jre25-temurin, 10.1.50-jre25, 10.1-jre25, 10-jre25
10.1.50-jdk25-temurin-jammy, 10.1-jdk25-temurin-jammy, 10-jdk25-temurin-jammy
10.1.50-jre25-temurin-jammy, 10.1-jre25-temurin-jammy, 10-jre25-temurin-jammy
10.1.50-jdk21-temurin-noble, 10.1-jdk21-temurin-noble, 10-jdk21-temurin-noble, 10.1.50-jdk21-temurin, 10.1-jdk21-temurin, 10-jdk21-temurin, 10.1.50-jdk21, 10.1-jdk21, 10-jdk21
10.1.50-jre21-temurin-noble, 10.1-jre21-temurin-noble, 10-jre21-temurin-noble, 10.1.50-jre21-temurin, 10.1-jre21-temurin, 10-jre21-temurin, 10.1.50-jre21, 10.1-jre21, 10-jre21
10.1.50-jdk21-temurin-jammy, 10.1-jdk21-temurin-jammy, 10-jdk21-temurin-jammy
10.1.50-jre21-temurin-jammy, 10.1-jre21-temurin-jammy, 10-jre21-temurin-jammy
10.1.50-jdk17-temurin-noble, 10.1-jdk17-temurin-noble, 10-jdk17-temurin-noble, 10.1.50-jdk17-temurin, 10.1-jdk17-temurin, 10-jdk17-temurin, 10.1.50-jdk17, 10.1-jdk17, 10-jdk17
10.1.50-jre17-temurin-noble, 10.1-jre17-temurin-noble, 10-jre17-temurin-noble, 10.1.50-jre17-temurin, 10.1-jre17-temurin, 10-jre17-temurin, 10.1.50-jre17, 10.1-jre17, 10-jre17
10.1.50-jdk17-temurin-jammy, 10.1-jdk17-temurin-jammy, 10-jdk17-temurin-jammy
10.1.50-jre17-temurin-jammy, 10.1-jre17-temurin-jammy, 10-jre17-temurin-jammy
10.1.50-jdk11-temurin-noble, 10.1-jdk11-temurin-noble, 10-jdk11-temurin-noble, 10.1.50-jdk11-temurin, 10.1-jdk11-temurin, 10-jdk11-temurin, 10.1.50-jdk11, 10.1-jdk11, 10-jdk11
10.1.50-jre11-temurin-noble, 10.1-jre11-temurin-noble, 10-jre11-temurin-noble, 10.1.50-jre11-temurin, 10.1-jre11-temurin, 10-jre11-temurin, 10.1.50-jre11, 10.1-jre11, 10-jre11
10.1.50-jdk11-temurin-jammy, 10.1-jdk11-temurin-jammy, 10-jdk11-temurin-jammy
10.1.50-jre11-temurin-jammy, 10.1-jre11-temurin-jammy, 10-jre11-temurin-jammy
9.0.113-jdk25-temurin-noble, 9.0-jdk25-temurin-noble, 9-jdk25-temurin-noble, 9.0.113-jdk25-temurin, 9.0-jdk25-temurin, 9-jdk25-temurin, 9.0.113-jdk25, 9.0-jdk25, 9-jdk25, 9.0.113, 9.0, 9
9.0.113-jre25-temurin-noble, 9.0-jre25-temurin-noble, 9-jre25-temurin-noble, 9.0.113-jre25-temurin, 9.0-jre25-temurin, 9-jre25-temurin, 9.0.113-jre25, 9.0-jre25, 9-jre25
9.0.113-jdk25-temurin-jammy, 9.0-jdk25-temurin-jammy, 9-jdk25-temurin-jammy
9.0.113-jre25-temurin-jammy, 9.0-jre25-temurin-jammy, 9-jre25-temurin-jammy
9.0.113-jdk21-temurin-noble, 9.0-jdk21-temurin-noble, 9-jdk21-temurin-noble, 9.0.113-jdk21-temurin, 9.0-jdk21-temurin, 9-jdk21-temurin, 9.0.113-jdk21, 9.0-jdk21, 9-jdk21
9.0.113-jre21-temurin-noble, 9.0-jre21-temurin-noble, 9-jre21-temurin-noble, 9.0.113-jre21-temurin, 9.0-jre21-temurin, 9-jre21-temurin, 9.0.113-jre21, 9.0-jre21, 9-jre21
9.0.113-jdk21-temurin-jammy, 9.0-jdk21-temurin-jammy, 9-jdk21-temurin-jammy
9.0.113-jre21-temurin-jammy, 9.0-jre21-temurin-jammy, 9-jre21-temurin-jammy
9.0.113-jdk21-corretto-al2, 9.0-jdk21-corretto-al2, 9-jdk21-corretto-al2, 9.0.113-jdk21-corretto, 9.0-jdk21-corretto, 9-jdk21-corretto
9.0.113-jdk17-temurin-noble, 9.0-jdk17-temurin-noble, 9-jdk17-temurin-noble, 9.0.113-jdk17-temurin, 9.0-jdk17-temurin, 9-jdk17-temurin, 9.0.113-jdk17, 9.0-jdk17, 9-jdk17
9.0.113-jre17-temurin-noble, 9.0-jre17-temurin-noble, 9-jre17-temurin-noble, 9.0.113-jre17-temurin, 9.0-jre17-temurin, 9-jre17-temurin, 9.0.113-jre17, 9.0-jre17, 9-jre17
9.0.113-jdk17-temurin-jammy, 9.0-jdk17-temurin-jammy, 9-jdk17-temurin-jammy
9.0.113-jre17-temurin-jammy, 9.0-jre17-temurin-jammy, 9-jre17-temurin-jammy
9.0.113-jdk17-corretto-al2, 9.0-jdk17-corretto-al2, 9-jdk17-corretto-al2, 9.0.113-jdk17-corretto, 9.0-jdk17-corretto, 9-jdk17-corretto
9.0.113-jdk11-temurin-noble, 9.0-jdk11-temurin-noble, 9-jdk11-temurin-noble, 9.0.113-jdk11-temurin, 9.0-jdk11-temurin, 9-jdk11-temurin, 9.0.113-jdk11, 9.0-jdk11, 9-jdk11
9.0.113-jre11-temurin-noble, 9.0-jre11-temurin-noble, 9-jre11-temurin-noble, 9.0.113-jre11-temurin, 9.0-jre11-temurin, 9-jre11-temurin, 9.0.113-jre11, 9.0-jre11, 9-jre11
9.0.113-jdk11-temurin-jammy, 9.0-jdk11-temurin-jammy, 9-jdk11-temurin-jammy
9.0.113-jre11-temurin-jammy, 9.0-jre11-temurin-jammy, 9-jre11-temurin-jammy
9.0.113-jdk11-corretto-al2, 9.0-jdk11-corretto-al2, 9-jdk11-corretto-al2, 9.0.113-jdk11-corretto, 9.0-jdk11-corretto, 9-jdk11-corretto
9.0.113-jdk8-temurin-noble, 9.0-jdk8-temurin-noble, 9-jdk8-temurin-noble, 9.0.113-jdk8-temurin, 9.0-jdk8-temurin, 9-jdk8-temurin, 9.0.113-jdk8, 9.0-jdk8, 9-jdk8
9.0.113-jre8-temurin-noble, 9.0-jre8-temurin-noble, 9-jre8-temurin-noble, 9.0.113-jre8-temurin, 9.0-jre8-temurin, 9-jre8-temurin, 9.0.113-jre8, 9.0-jre8, 9-jre8
9.0.113-jdk8-temurin-jammy, 9.0-jdk8-temurin-jammy, 9-jdk8-temurin-jammy
9.0.113-jre8-temurin-jammy, 9.0-jre8-temurin-jammy, 9-jre8-temurin-jammy
9.0.113-jdk8-corretto-al2, 9.0-jdk8-corretto-al2, 9-jdk8-corretto-al2, 9.0.113-jdk8-corretto, 9.0-jdk8-corretto, 9-jdk8-corretto
Where to file issues:
[***]
Supported architectures: (more info)
amd64, arm32v7, arm64v8, ppc64le, riscv64, s390x
Published image artifact details:
repo-info repo's repos/tomcat/ directory (history)
(image metadata, transfer size, etc)
Image updates:
official-images repo's library/tomcat label
official-images repo's library/tomcat file (history)
Source of this description:
docs repo's tomcat/ directory (history)
Apache Tomcat (or simply Tomcat) is an open source web server and servlet container developed by the Apache Software Foundation (ASF). Tomcat implements the Java Servlet and the JavaServer Pages (JSP) specifications from Oracle, and provides a "pure Java" HTTP web server environment for Java code to run in. In the simplest config Tomcat runs in a single operating system process. The process runs a Java virtual machine (JVM). Every single HTTP request from a browser to Tomcat is processed in the Tomcat process in a separate thread.
***.org/wiki/Apache_Tomcat
!logoLogo © Apache Software Fountation
Note: as of docker-library/tomcat#181, the upstream-provided (example) webapps are not enabled by default, per upstream's security recommendations, but are still available under the webapps.dist folder within the image to make them easier to re-enable.
Run the default Tomcat server (CMD ["catalina.sh", "run"]):
console$ docker run -it --rm tomcat:9.0
You can test it by visiting [***] in a browser or, if you need access outside the host, on port 8888:
console$ docker run -it --rm -p 8888:8080 tomcat:9.0
You can then go to http://localhost:8888 or [***] in a browser (noting that it will return a 404 since there are no webapps loaded by default).
The default Tomcat environment in the image is:
CATALINA_BASE: /usr/local/tomcat CATALINA_HOME: /usr/local/tomcat CATALINA_TMPDIR: /usr/local/tomcat/temp JRE_HOME: /usr CLASSPATH: /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar
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.
View license information for the software contained in this image.
As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).
Some additional license information which was able to be auto-detected might be found in the repo-info repository's tomcat/ directory.
As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.
探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
在 Linux 系统配置镜像服务
在 Docker Desktop 配置镜像
Docker Compose 项目配置
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
在宝塔面板一键配置镜像
Synology 群晖 NAS 配置
飞牛 fnOS 系统配置镜像
极空间 NAS 系统配置服务
爱快 iKuai 路由系统配置
绿联 NAS 系统配置镜像
QNAP 威联通 NAS 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
无需登录使用专属域名
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
免费版仅支持 Docker Hub 访问,不承诺可用性和速度;专业版支持更多镜像源,保证可用性和稳定速度,提供优先客服响应。
专业版支持 docker.io、gcr.io、ghcr.io、registry.k8s.io、nvcr.io、quay.io、mcr.microsoft.com、docker.elastic.co 等;免费版仅支持 docker.io。
当返回 402 Payment Required 错误时,表示流量已耗尽,需要充值流量包以恢复服务。
通常由 Docker 版本过低导致,需要升级到 20.x 或更高版本以支持 V2 协议。
先检查 Docker 版本,版本过低则升级;版本正常则验证镜像信息是否正确。
使用 docker tag 命令为镜像打上新标签,去掉域名前缀,使镜像名称更简洁。
来自真实用户的反馈,见证轩辕镜像的优质服务