docker.io/tomcat:9.0.75-jdk8-corretto linux/amd64

docker.io/tomcat:9.0.75-jdk8-corretto - 国内下载镜像源 浏览次数:391
Apache Tomcat 是一个基于 Java 的 web 服务器软件,提供了 HTTP 和 HTTPS 等协议支持。该镜像用于运行 Apache Tomcat 服务,用于部署和运行 JavaEE 应用程序。
源镜像 docker.io/tomcat:9.0.75-jdk8-corretto
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tomcat:9.0.75-jdk8-corretto
镜像ID sha256:a6f1c66a918c04696260f81cce578aa3e7371ae8234e9e70311a46daeb835e34
镜像TAG 9.0.75-jdk8-corretto
大小 381.84MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD catalina.sh run
启动入口
工作目录 /usr/local/tomcat
OS/平台 linux/amd64
浏览量 391 次
贡献者
镜像创建 2023-06-05T20:27:19.684811232Z
同步时间 2024-08-16 10:29
更新时间 2025-01-18 05:34
开放端口
8080/tcp
环境变量
PATH=/usr/local/tomcat/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=C.UTF-8 JAVA_HOME=/usr/lib/jvm/java-1.8.0-amazon-corretto CATALINA_HOME=/usr/local/tomcat TOMCAT_NATIVE_LIBDIR=/usr/local/tomcat/native-jni-lib LD_LIBRARY_PATH=/usr/local/tomcat/native-jni-lib GPG_KEYS=48F8E69F6390C9F25CFEDCD268248959359E722B A9C5DF4D22E99998D9875A5110C01C5A2F6059E7 DCFD35E0BF8CA7344752DE8B6FB21E8933C60243 TOMCAT_MAJOR=9 TOMCAT_VERSION=9.0.75 TOMCAT_SHA512=e29905e693598b64d958dd22b8d866590163917bdc6e1cfd363a8a06f97ecc89284b863b3ab2448f43903623564c3fd952c7a9bd33df8476d57f6873c2d463c7

Docker拉取命令 无权限下载?点我修复

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tomcat:9.0.75-jdk8-corretto
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tomcat:9.0.75-jdk8-corretto  docker.io/tomcat:9.0.75-jdk8-corretto

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tomcat:9.0.75-jdk8-corretto
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tomcat:9.0.75-jdk8-corretto  docker.io/tomcat:9.0.75-jdk8-corretto

Shell快速替换命令

sed -i 's#tomcat:9.0.75-jdk8-corretto#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tomcat:9.0.75-jdk8-corretto#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tomcat:9.0.75-jdk8-corretto && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tomcat:9.0.75-jdk8-corretto  docker.io/tomcat:9.0.75-jdk8-corretto'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tomcat:9.0.75-jdk8-corretto && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tomcat:9.0.75-jdk8-corretto  docker.io/tomcat:9.0.75-jdk8-corretto'

镜像构建历史


# 2023-06-06 04:27:19  0.00B 
/bin/sh -c #(nop)  CMD ["catalina.sh" "run"]
                        
# 2023-06-06 04:27:19  0.00B 
/bin/sh -c #(nop)  EXPOSE 8080
                        
# 2023-06-06 04:27:19  0.00B 
/bin/sh -c set -eux; 	nativeLines="$(catalina.sh configtest 2>&1)"; 	nativeLines="$(echo "$nativeLines" | grep 'Apache Tomcat Native')"; 	nativeLines="$(echo "$nativeLines" | sort -u)"; 	if ! echo "$nativeLines" | grep -E 'INFO: Loaded( APR based)? Apache Tomcat Native library' >&2; then 		echo >&2 "$nativeLines"; 		exit 1; 	fi
                        
# 2023-06-06 04:27:18  33.06MB 
/bin/sh -c set -eux; 		if ! command -v yumdb > /dev/null; then 		yum install -y --setopt=skip_missing_names_on_install=False yum-utils; 		yumdb set reason dep yum-utils; 	fi; 	_yum_install_temporary() { ( set -eu +x; 		local pkg todo=''; 		for pkg; do 			if ! rpm --query "$pkg" > /dev/null 2>&1; then 				todo="$todo $pkg"; 			fi; 		done; 		if [ -n "$todo" ]; then 			set -x; 			yum install -y --setopt=skip_missing_names_on_install=False $todo; 			yumdb set reason dep $todo; 		fi; 	) }; 	_yum_install_temporary gzip tar; 		ddist() { 		local f="$1"; shift; 		local distFile="$1"; shift; 		local mvnFile="${1:-}"; 		local success=; 		local distUrl=; 		for distUrl in 			"https://www.apache.org/dyn/closer.cgi?action=download&filename=$distFile" 			"https://downloads.apache.org/$distFile" 			"https://www-us.apache.org/dist/$distFile" 			"https://www.apache.org/dist/$distFile" 			"https://archive.apache.org/dist/$distFile" 			${mvnFile:+"https://repo1.maven.org/maven2/org/apache/tomcat/tomcat/$mvnFile"} 		; do 			if curl -fL -o "$f" "$distUrl" && [ -s "$f" ]; then 				success=1; 				break; 			fi; 		done; 		[ -n "$success" ]; 	}; 		ddist 'tomcat.tar.gz' "tomcat/tomcat-$TOMCAT_MAJOR/v$TOMCAT_VERSION/bin/apache-tomcat-$TOMCAT_VERSION.tar.gz" "$TOMCAT_VERSION/tomcat-$TOMCAT_VERSION.tar.gz"; 	echo "$TOMCAT_SHA512 *tomcat.tar.gz" | sha512sum --strict --check -; 	ddist 'tomcat.tar.gz.asc' "tomcat/tomcat-$TOMCAT_MAJOR/v$TOMCAT_VERSION/bin/apache-tomcat-$TOMCAT_VERSION.tar.gz.asc" "$TOMCAT_VERSION/tomcat-$TOMCAT_VERSION.tar.gz.asc"; 	export GNUPGHOME="$(mktemp -d)"; 	for key in $GPG_KEYS; do 		gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; 	done; 	gpg --batch --verify tomcat.tar.gz.asc tomcat.tar.gz; 	tar -xf tomcat.tar.gz --strip-components=1; 	rm bin/*.bat; 	rm tomcat.tar.gz*; 	rm -rf "$GNUPGHOME"; 		mv webapps webapps.dist; 	mkdir webapps; 		nativeBuildDir="$(mktemp -d)"; 	tar -xf bin/tomcat-native.tar.gz -C "$nativeBuildDir" --strip-components=1; 	_yum_install_temporary 		apr-devel 		gcc 		make 		openssl11-devel 	; 	( 		export CATALINA_HOME="$PWD"; 		cd "$nativeBuildDir/native"; 		aprConfig="$(command -v apr-1-config)"; 		./configure 			--libdir="$TOMCAT_NATIVE_LIBDIR" 			--prefix="$CATALINA_HOME" 			--with-apr="$aprConfig" 			--with-java-home="$JAVA_HOME" 			--with-ssl 		; 		nproc="$(nproc)"; 		make -j "$nproc"; 		make install; 	); 	rm -rf "$nativeBuildDir"; 	rm bin/tomcat-native.tar.gz; 		find "$TOMCAT_NATIVE_LIBDIR" -type f -executable -exec ldd '{}' ';' 		| awk '/=>/ && $(NF-1) != "=>" { print $(NF-1) }' 		| xargs -rt readlink -e 		| sort -u 		| xargs -rt rpm --query --whatprovides 		| sort -u 		| tee "$TOMCAT_NATIVE_LIBDIR/.dependencies.txt" 		| xargs -r yumdb set reason user 	; 		yum autoremove -y; 	yum clean all; 	rm -rf /var/cache/yum; 		find ./bin/ -name '*.sh' -exec sed -ri 's|^#!/bin/sh$|#!/usr/bin/env bash|' '{}' +; 		chmod -R +rX .; 	chmod 1777 logs temp work; 		catalina.sh version
                        
# 2023-06-06 04:26:42  0.00B 
/bin/sh -c #(nop)  ENV TOMCAT_SHA512=e29905e693598b64d958dd22b8d866590163917bdc6e1cfd363a8a06f97ecc89284b863b3ab2448f43903623564c3fd952c7a9bd33df8476d57f6873c2d463c7
                        
# 2023-06-06 04:26:42  0.00B 
/bin/sh -c #(nop)  ENV TOMCAT_VERSION=9.0.75
                        
# 2023-06-06 04:26:42  0.00B 
/bin/sh -c #(nop)  ENV TOMCAT_MAJOR=9
                        
# 2023-06-06 04:26:42  0.00B 
/bin/sh -c #(nop)  ENV GPG_KEYS=48F8E69F6390C9F25CFEDCD268248959359E722B A9C5DF4D22E99998D9875A5110C01C5A2F6059E7 DCFD35E0BF8CA7344752DE8B6FB21E8933C60243
                        
# 2023-06-06 04:26:42  0.00B 
/bin/sh -c #(nop)  ENV LD_LIBRARY_PATH=/usr/local/tomcat/native-jni-lib
                        
# 2023-06-06 04:26:42  0.00B 
/bin/sh -c #(nop)  ENV TOMCAT_NATIVE_LIBDIR=/usr/local/tomcat/native-jni-lib
                        
# 2023-06-06 04:26:42  0.00B 
/bin/sh -c #(nop) WORKDIR /usr/local/tomcat
                        
# 2023-06-06 04:26:42  0.00B 
/bin/sh -c mkdir -p "$CATALINA_HOME"
                        
# 2023-06-06 04:26:41  0.00B 
/bin/sh -c #(nop)  ENV PATH=/usr/local/tomcat/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2023-06-06 04:26:41  0.00B 
/bin/sh -c #(nop)  ENV CATALINA_HOME=/usr/local/tomcat
                        
# 2023-06-06 03:37:47  0.00B 
/bin/sh -c #(nop)  ENV JAVA_HOME=/usr/lib/jvm/java-1.8.0-amazon-corretto
                        
# 2023-06-06 03:37:47  0.00B 
/bin/sh -c #(nop)  ENV LANG=C.UTF-8
                        
# 2023-06-06 03:37:46  184.02MB 
|1 version=1.8.0_372.b07-1 /bin/sh -c set -eux     && export GNUPGHOME="$(mktemp -d)"     && curl -fL -o corretto.key https://yum.corretto.aws/corretto.key     && gpg --batch --import corretto.key     && gpg --batch --export --armor '6DC3636DAE534049C8B94623A122542AB04F24E3' > corretto.key     && rpm --import corretto.key     && rm -r "$GNUPGHOME" corretto.key     && curl -fL -o /etc/yum.repos.d/corretto.repo https://yum.corretto.aws/corretto.repo     && grep -q '^gpgcheck=1' /etc/yum.repos.d/corretto.repo     && echo "priority=9" >> /etc/yum.repos.d/corretto.repo     && yum install -y java-1.8.0-amazon-corretto-devel-$version     && (find /usr/lib/jvm/java-1.8.0-amazon-corretto -name src.zip -delete || true)     && yum install -y fontconfig     && yum clean all
                        
# 2023-06-06 03:37:25  0.00B 
/bin/sh -c #(nop)  ARG version=1.8.0_372.b07-1
                        
# 2023-06-06 03:20:12  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2023-06-06 03:20:11  164.76MB 
/bin/sh -c #(nop) COPY dir:1ad47ba01d0d349e7e7d7ca6f7f5a60739b61c1a0bb68b6f66605d9af77bb0d5 in / 
                        
                    

镜像信息

{
    "Id": "sha256:a6f1c66a918c04696260f81cce578aa3e7371ae8234e9e70311a46daeb835e34",
    "RepoTags": [
        "tomcat:9.0.75-jdk8-corretto",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tomcat:9.0.75-jdk8-corretto"
    ],
    "RepoDigests": [
        "tomcat@sha256:03a45ed19bdbbc7663af0bd7c1d92c7b214cbee4964232dec06debba0294562d",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tomcat@sha256:033ca05d7a56954cec74b6973faa34fa391869655b48407e7ea40819774afcd9"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2023-06-05T20:27:19.684811232Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.23",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "8080/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/tomcat/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "LANG=C.UTF-8",
            "JAVA_HOME=/usr/lib/jvm/java-1.8.0-amazon-corretto",
            "CATALINA_HOME=/usr/local/tomcat",
            "TOMCAT_NATIVE_LIBDIR=/usr/local/tomcat/native-jni-lib",
            "LD_LIBRARY_PATH=/usr/local/tomcat/native-jni-lib",
            "GPG_KEYS=48F8E69F6390C9F25CFEDCD268248959359E722B A9C5DF4D22E99998D9875A5110C01C5A2F6059E7 DCFD35E0BF8CA7344752DE8B6FB21E8933C60243",
            "TOMCAT_MAJOR=9",
            "TOMCAT_VERSION=9.0.75",
            "TOMCAT_SHA512=e29905e693598b64d958dd22b8d866590163917bdc6e1cfd363a8a06f97ecc89284b863b3ab2448f43903623564c3fd952c7a9bd33df8476d57f6873c2d463c7"
        ],
        "Cmd": [
            "catalina.sh",
            "run"
        ],
        "Image": "sha256:1d03234c42134cbccf7697aba9d10f9e1be807e6040d1ca3d4dfe9835f2d2ff7",
        "Volumes": null,
        "WorkingDir": "/usr/local/tomcat",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 381841289,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/70433cb864713613af3a1b8c97eee02dc3a8e6b8b33692ee1a43d764bd614208/diff:/var/lib/docker/overlay2/7976b99852ff898bad23dde4d738e083ddcf133d970ce60043aea718cac1f2e3/diff:/var/lib/docker/overlay2/4f4a94fd6f5db9467d1aee8a7f0f41e3a911f33dc221e718b7e55818657172e3/diff:/var/lib/docker/overlay2/f932baa2a36eab5a0d85514e78969d647ebd69f68b62f571f7b251df314a3f0b/diff",
            "MergedDir": "/var/lib/docker/overlay2/6496c00d6982d493017a48bffa43c0a631125275db86c3563e8bed8a2d1207e4/merged",
            "UpperDir": "/var/lib/docker/overlay2/6496c00d6982d493017a48bffa43c0a631125275db86c3563e8bed8a2d1207e4/diff",
            "WorkDir": "/var/lib/docker/overlay2/6496c00d6982d493017a48bffa43c0a631125275db86c3563e8bed8a2d1207e4/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:8874fc6e6c79c015dc8a3385742a598cc7ab2fc684cb2c8616f7892406f31057",
            "sha256:168d5383d8ad6404cc0b6ab4164ddf39dc3f50a5c06e686c06ee91397d49592b",
            "sha256:ec728098a525c199767dd3f828c03fe3bb2a1c88a076043fe77a2f25dba6162e",
            "sha256:1784e07e631af9de054cb020ec2488f02d0c235ba8b1853f4af5d5f8481fe403",
            "sha256:117d272b7527272436cf1f9a519a2b183886eefe29eee60539e142de6ba46479"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-08-16T10:28:43.343197241+08:00"
    }
}

更多版本

docker.io/tomcat:8.5-jre10-slim

linux/amd64 docker.io315.28MB2024-06-21 18:19
313

docker.io/tomcat:9.0.67-jdk8

linux/amd64 docker.io336.78MB2024-08-07 20:43
960

docker.io/tomcat:9.0.67-jdk8-temurin

linux/amd64 docker.io336.78MB2024-08-07 20:44
176

docker.io/tomcat:9.0.67-jre8-temurin

linux/amd64 docker.io241.05MB2024-08-07 20:59
385

docker.io/tomcat:8-jdk8-openjdk

linux/amd64 docker.io546.46MB2024-08-10 09:45
543

docker.io/tomcat:8.0

linux/amd64 docker.io356.25MB2024-08-11 18:39
424

docker.io/tomcat:9.0.75-jdk8-corretto

linux/amd64 docker.io381.84MB2024-08-16 10:29
390

docker.io/tomcat:7.0.103

linux/amd64 docker.io529.31MB2024-09-11 18:47
281

docker.io/tomcat:8.5.100-jre8-temurin-jammy

linux/arm64 docker.io232.03MB2024-09-11 21:32
254

docker.io/tomcat:8.5-jdk8

linux/amd64 docker.io338.04MB2024-09-27 19:21
329

docker.io/tomcat:10.0.0-M5-jdk8-openjdk

linux/amd64 docker.io529.59MB2024-10-21 19:58
300

docker.io/tomcat:8.5.59-jdk8

linux/amd64 docker.io532.64MB2024-11-22 09:12
91

docker.io/tomcat:8.5.95-jdk8

linux/amd64 docker.io344.32MB2024-11-25 15:37
96

docker.io/tomcat:8.5.100-jdk8

linux/amd64 docker.io338.04MB2024-11-28 13:37
96

docker.io/tomcat:8.5.100-jre8-temurin-focal

linux/amd64 docker.io247.29MB2025-01-15 14:15
17