docker.io/tomcat:8-jdk8-openjdk linux/amd64

docker.io/tomcat:8-jdk8-openjdk - 国内下载镜像源 浏览次数:410
Apache Tomcat 是一个基于 Java 的 web 服务器软件,提供了 HTTP 和 HTTPS 等协议支持。该镜像用于运行 Apache Tomcat 服务,用于部署和运行 JavaEE 应用程序。
源镜像 docker.io/tomcat:8-jdk8-openjdk
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tomcat:8-jdk8-openjdk
镜像ID sha256:6d9b32a2769b81af0358903513bfb3a5a6b4adf68eddb9723c0a57a77099e01a
镜像TAG 8-jdk8-openjdk
大小 546.46MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD catalina.sh run
启动入口
工作目录 /usr/local/tomcat
OS/平台 linux/amd64
浏览量 410 次
贡献者
镜像创建 2022-08-17T21:36:05.813799589Z
同步时间 2024-08-10 09:45
更新时间 2024-11-21 16:11
开放端口
8080/tcp
环境变量
PATH=/usr/local/tomcat/bin:/usr/local/openjdk-8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin JAVA_HOME=/usr/local/openjdk-8 LANG=C.UTF-8 JAVA_VERSION=8u342 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=05AB33110949707C93A279E3D3EFE6B686867BA6 07E48665A34DCAFAE522E5E6266191C37C037D42 47309207D818FFD8DCD3F83F1931D684307A10A5 541FBE7D8F78B25E055DDEE13C370389288584E7 5C3C5F3E314C866292F359A8F3AD5C94A67F707E 765908099ACF92702C7D949BFA0C35EA8AA299F1 79F7026C690BAA50B92CD8B66A3AD3F4F22C4FED 9BA44C2621385CB966EBA586F72C284D731FABEE A27677289986DB50844682F8ACB77FC2E86E29AC A9C5DF4D22E99998D9875A5110C01C5A2F6059E7 DCFD35E0BF8CA7344752DE8B6FB21E8933C60243 F3A04C595DB5B6A5F1ECA43E3B7BBB100D811BBE F7DA48BB64BCB84ECBA7EE6935CD23C10D498E23 TOMCAT_MAJOR=8 TOMCAT_VERSION=8.5.82 TOMCAT_SHA512=ba701002be9729e19b5d2e12e1f4a723a38ad4452ab235127a19397bc81e95adc060187501701ba0160f0017723525b506a42f0dbb4f9f91f1a1a53be1ba1b25

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2022-08-18 05:36:05 /bin/sh -c #(nop) CMD ["catalina.sh" "run"]
0.00B 2022-08-18 05:36:05 /bin/sh -c #(nop) EXPOSE 8080
0.00B 2022-08-18 05:36:05 /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
20.41MB 2022-08-18 05:36:03 /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl dirmngr gnupg ; 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*; command -v gpgconf && gpgconf --kill all || :; rm -rf "$GNUPGHOME"; mv webapps webapps.dist; mkdir webapps; nativeBuildDir="$(mktemp -d)"; tar -xf bin/tomcat-native.tar.gz -C "$nativeBuildDir" --strip-components=1; apt-get install -y --no-install-recommends dpkg-dev gcc libapr1-dev libssl-dev make ; ( export CATALINA_HOME="$PWD"; cd "$nativeBuildDir/native"; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; aprConfig="$(command -v apr-1-config)"; ./configure --build="$gnuArch" --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; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; find "$TOMCAT_NATIVE_LIBDIR" -type f -executable -exec ldd '{}' ';' | awk '/=>/ { print $(NF-1) }' | xargs -rt readlink -e | sort -u | xargs -rt dpkg-query --search | cut -d: -f1 | sort -u | tee "$TOMCAT_NATIVE_LIBDIR/.dependencies.txt" | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; find ./bin/ -name '*.sh' -exec sed -ri 's|^#!/bin/sh$|#!/usr/bin/env bash|' '{}' +; chmod -R +rX .; chmod 777 logs temp work; catalina.sh version
0.00B 2022-08-18 05:35:35 /bin/sh -c #(nop) ENV TOMCAT_SHA512=ba701002be9729e19b5d2e12e1f4a723a38ad4452ab235127a19397bc81e95adc060187501701ba0160f0017723525b506a42f0dbb4f9f91f1a1a53be1ba1b25
0.00B 2022-08-18 05:35:35 /bin/sh -c #(nop) ENV TOMCAT_VERSION=8.5.82
0.00B 2022-08-03 13:15:31 /bin/sh -c #(nop) ENV TOMCAT_MAJOR=8
0.00B 2022-08-03 13:15:31 /bin/sh -c #(nop) ENV GPG_KEYS=05AB33110949707C93A279E3D3EFE6B686867BA6 07E48665A34DCAFAE522E5E6266191C37C037D42 47309207D818FFD8DCD3F83F1931D684307A10A5 541FBE7D8F78B25E055DDEE13C370389288584E7 5C3C5F3E314C866292F359A8F3AD5C94A67F707E 765908099ACF92702C7D949BFA0C35EA8AA299F1 79F7026C690BAA50B92CD8B66A3AD3F4F22C4FED 9BA44C2621385CB966EBA586F72C284D731FABEE A27677289986DB50844682F8ACB77FC2E86E29AC A9C5DF4D22E99998D9875A5110C01C5A2F6059E7 DCFD35E0BF8CA7344752DE8B6FB21E8933C60243 F3A04C595DB5B6A5F1ECA43E3B7BBB100D811BBE F7DA48BB64BCB84ECBA7EE6935CD23C10D498E23
0.00B 2022-08-03 12:54:17 /bin/sh -c #(nop) ENV LD_LIBRARY_PATH=/usr/local/tomcat/native-jni-lib
0.00B 2022-08-03 12:54:17 /bin/sh -c #(nop) ENV TOMCAT_NATIVE_LIBDIR=/usr/local/tomcat/native-jni-lib
0.00B 2022-08-03 12:54:17 /bin/sh -c #(nop) WORKDIR /usr/local/tomcat
0.00B 2022-08-03 12:54:17 /bin/sh -c mkdir -p "$CATALINA_HOME"
0.00B 2022-08-03 12:54:16 /bin/sh -c #(nop) ENV PATH=/usr/local/tomcat/bin:/usr/local/openjdk-8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
0.00B 2022-08-03 12:54:16 /bin/sh -c #(nop) ENV CATALINA_HOME=/usr/local/tomcat
209.16MB 2022-08-02 13:54:47 /bin/sh -c set -eux; arch="$(dpkg --print-architecture)"; case "$arch" in 'amd64') downloadUrl='https://github.com/AdoptOpenJDK/openjdk8-upstream-binaries/releases/download/jdk8u342-b07/OpenJDK8U-jdk_x64_linux_8u342b07.tar.gz'; ;; 'arm64') downloadUrl='https://github.com/AdoptOpenJDK/openjdk8-upstream-binaries/releases/download/jdk8u342-b07/OpenJDK8U-jdk_aarch64_linux_8u342b07.tar.gz'; ;; *) echo >&2 "error: unsupported architecture: '$arch'"; exit 1 ;; esac; wget --progress=dot:giga -O openjdk.tgz "$downloadUrl"; wget --progress=dot:giga -O openjdk.tgz.asc "$downloadUrl.sign"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys EAC843EBD3EFDB98CC772FADA5CD6035332FA671; gpg --batch --keyserver keyserver.ubuntu.com --keyserver-options no-self-sigs-only --recv-keys CA5F11C6CE22644D42C6AC4492EF8D39DC13168F; gpg --batch --list-sigs --keyid-format 0xLONG CA5F11C6CE22644D42C6AC4492EF8D39DC13168F | tee /dev/stderr | grep '0xA5CD6035332FA671' | grep 'Andrew Haley'; gpg --batch --verify openjdk.tgz.asc openjdk.tgz; gpgconf --kill all; rm -rf "$GNUPGHOME"; mkdir -p "$JAVA_HOME"; tar --extract --file openjdk.tgz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm openjdk.tgz*; { echo '#!/usr/bin/env bash'; echo 'set -Eeuo pipefail'; echo 'trust extract --overwrite --format=java-cacerts --filter=ca-anchors --purpose=server-auth "$JAVA_HOME/jre/lib/security/cacerts"'; } > /etc/ca-certificates/update.d/docker-openjdk; chmod +x /etc/ca-certificates/update.d/docker-openjdk; /etc/ca-certificates/update.d/docker-openjdk; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig; javac -version; java -version
0.00B 2022-08-02 13:54:38 /bin/sh -c #(nop) ENV JAVA_VERSION=8u342
0.00B 2022-08-02 13:54:37 /bin/sh -c #(nop) ENV LANG=C.UTF-8
0.00B 2022-08-02 13:54:37 /bin/sh -c #(nop) ENV PATH=/usr/local/openjdk-8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
27.00B 2022-08-02 13:54:37 /bin/sh -c { echo '#/bin/sh'; echo 'echo "$JAVA_HOME"'; } > /usr/local/bin/docker-java-home && chmod +x /usr/local/bin/docker-java-home && [ "$JAVA_HOME" = "$(docker-java-home)" ] # backwards compatibility
0.00B 2022-08-02 13:54:37 /bin/sh -c #(nop) ENV JAVA_HOME=/usr/local/openjdk-8
11.32MB 2022-08-02 13:51:54 /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends bzip2 unzip xz-utils fontconfig libfreetype6 ca-certificates p11-kit ; rm -rf /var/lib/apt/lists/*
151.95MB 2022-08-02 09:47:17 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps && rm -rf /var/lib/apt/lists/*
18.95MB 2022-08-02 09:47:01 /bin/sh -c set -ex; if ! command -v gpg > /dev/null; then apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr ; rm -rf /var/lib/apt/lists/*; fi
10.69MB 2022-08-02 09:46:56 /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl netbase wget ; rm -rf /var/lib/apt/lists/*
0.00B 2022-08-02 09:19:54 /bin/sh -c #(nop) CMD ["bash"]
123.98MB 2022-08-02 09:19:54 /bin/sh -c #(nop) ADD file:d0f758e50c654c225f6c7f03e8a579efc9106437051573bdbae5e63b1c4b2c1f in /

镜像信息

{
    "Id": "sha256:6d9b32a2769b81af0358903513bfb3a5a6b4adf68eddb9723c0a57a77099e01a",
    "RepoTags": [
        "tomcat:8-jdk8-openjdk",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tomcat:8-jdk8-openjdk"
    ],
    "RepoDigests": [
        "tomcat@sha256:19f41f912667dafc90c2136e4fa1958d520b4e99d0b9564beacae9e25c0140de",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tomcat@sha256:f57aaa638fa54a88b6432a49f569c0fdacb6c3d5b9197cb2c08251dabac7b1b8"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2022-08-17T21:36:05.813799589Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.12",
    "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/openjdk-8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "JAVA_HOME=/usr/local/openjdk-8",
            "LANG=C.UTF-8",
            "JAVA_VERSION=8u342",
            "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=05AB33110949707C93A279E3D3EFE6B686867BA6 07E48665A34DCAFAE522E5E6266191C37C037D42 47309207D818FFD8DCD3F83F1931D684307A10A5 541FBE7D8F78B25E055DDEE13C370389288584E7 5C3C5F3E314C866292F359A8F3AD5C94A67F707E 765908099ACF92702C7D949BFA0C35EA8AA299F1 79F7026C690BAA50B92CD8B66A3AD3F4F22C4FED 9BA44C2621385CB966EBA586F72C284D731FABEE A27677289986DB50844682F8ACB77FC2E86E29AC A9C5DF4D22E99998D9875A5110C01C5A2F6059E7 DCFD35E0BF8CA7344752DE8B6FB21E8933C60243 F3A04C595DB5B6A5F1ECA43E3B7BBB100D811BBE F7DA48BB64BCB84ECBA7EE6935CD23C10D498E23",
            "TOMCAT_MAJOR=8",
            "TOMCAT_VERSION=8.5.82",
            "TOMCAT_SHA512=ba701002be9729e19b5d2e12e1f4a723a38ad4452ab235127a19397bc81e95adc060187501701ba0160f0017723525b506a42f0dbb4f9f91f1a1a53be1ba1b25"
        ],
        "Cmd": [
            "catalina.sh",
            "run"
        ],
        "Image": "sha256:cdbaf50f8518d4f201a4a92e7fdb03d0d7242aac263357134013f16ff46b96e4",
        "Volumes": null,
        "WorkingDir": "/usr/local/tomcat",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 546458219,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/34b8e49bd73cbb9b3e6b0621138f9bb93a3031d8880b0567357219b47097364b/diff:/var/lib/docker/overlay2/d0379895fad0251920b4ee31a45f7f83248c5a6d68ca9002225a9f907f942b42/diff:/var/lib/docker/overlay2/68d6c23632101b9ef6d7376311bcbc21da7c53a4e602efd13280f8a870541f05/diff:/var/lib/docker/overlay2/c276de838eed9f4c41724d44ecad1a2d678472fc9551006ef29761e2e7d88663/diff:/var/lib/docker/overlay2/02b64c2c27c371cf4d52aa4ec99a34fe619afd2b3db765aa320ce41b1887b2d2/diff:/var/lib/docker/overlay2/12ab4b5cd0215560c3633c901686e43d584e272e3946c563700f4e5406703e08/diff:/var/lib/docker/overlay2/7ffd4689e46bdc662ef4f7a74739feedff910bfe35d5e6b38850d4aaf7326fcb/diff:/var/lib/docker/overlay2/a2cdab916dbc753a882c407053e49926eb722134415e7ff2be4290ba4f9b6bd8/diff:/var/lib/docker/overlay2/3f6159a231aa1833555f045fbabaa9e54f70eae3b563fabfb4770ec4fb2775d6/diff",
            "MergedDir": "/var/lib/docker/overlay2/4866c548027a952c14bab4d20fb1868f35cc4ede55c12469585ef1bd19b243b5/merged",
            "UpperDir": "/var/lib/docker/overlay2/4866c548027a952c14bab4d20fb1868f35cc4ede55c12469585ef1bd19b243b5/diff",
            "WorkDir": "/var/lib/docker/overlay2/4866c548027a952c14bab4d20fb1868f35cc4ede55c12469585ef1bd19b243b5/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:9c742cd6c7a5752ee36be8ecb14be45c0885e10e6dd34f26a9ae3eb096c5d492",
            "sha256:03127cdb479b0f1eb8a9b0df8e8d72ead24979728d3c84ff645611b9d8790f94",
            "sha256:293d5db30c9fcf33b65fa033e427fdd118464f9ea0c2a343a478a6e89c29140e",
            "sha256:9b55156abf262eac3e6bd3ae60e7277ab4f9c69543650d7ecefc8c26ee889873",
            "sha256:b626401ef603dd383fc3a43cf474186827db1875591bfc84b178177ca010015b",
            "sha256:53a0b163e9955ffb80569ef37e13fbf5d1074ddd67bc5ad09d7bd874b800396a",
            "sha256:6b5aaff4425423d122ebe4f1514a1994ae60954fc8a2299787df0ddb1a12f6b9",
            "sha256:1f65eb5b69512beee8f7b15fd2ed8445df50fd6a336187f59d6e2e08f3945976",
            "sha256:39bb6a4fbd32ed164bd134b2aa4f40dfd4864b387687a8b93f36a8d6ce08cd68",
            "sha256:793a9d1e9b48b188da1fee4fa1a88f6e4e5201cb8fc8700d9970cfdc0cf3d2be"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-08-10T09:45:44.980084424+08:00"
    }
}

更多版本

docker.io/tomcat:8.5-jre10-slim

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

docker.io/tomcat:9.0.67-jdk8

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

docker.io/tomcat:9.0.67-jdk8-temurin

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

docker.io/tomcat:9.0.67-jre8-temurin

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

docker.io/tomcat:8-jdk8-openjdk

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

docker.io/tomcat:8.0

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

docker.io/tomcat:9.0.75-jdk8-corretto

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

docker.io/tomcat:7.0.103

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

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

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

docker.io/tomcat:8.5-jdk8

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

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

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