docker.io/openjdk:8u212-jre-slim linux/amd64

docker.io/openjdk:8u212-jre-slim - 国内下载镜像源 浏览次数:267 安全受验证的发布者-OpenJdk

openjdk 是一个基于 Oracle JDK 的 Docker 镜像,用于在 Linux 和 Windows 平台上运行 Java 应用程序。它提供了完整的 Java Runtime Environment(JRE),包括 JVM、类库和工具。

源镜像 docker.io/openjdk:8u212-jre-slim
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:8u212-jre-slim
镜像ID sha256:57583b88a4ae62791251197d056493a094ab0f39f51466d73a7f60831b919cc8
镜像TAG 8u212-jre-slim
大小 183.49MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD bash
启动入口
工作目录
OS/平台 linux/amd64
浏览量 267 次
贡献者
镜像创建 2019-07-15T23:50:44.776857952Z
同步时间 2024-09-04 17:14
更新时间 2024-11-21 01:01
环境变量
PATH=/usr/local/openjdk-8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=C.UTF-8 JAVA_HOME=/usr/local/openjdk-8 JAVA_VERSION=8u212-b04 JAVA_BASE_URL=https://github.com/AdoptOpenJDK/openjdk8-upstream-binaries/releases/download/jdk8u212-b04/OpenJDK8U-jre_ JAVA_URL_VERSION=8u212b04

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:8u212-jre-slim
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:8u212-jre-slim  docker.io/openjdk:8u212-jre-slim

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
105.50MB 2019-07-16 07:50:44 /bin/sh -c set -eux; dpkgArch="$(dpkg --print-architecture)"; case "$dpkgArch" in amd64) upstreamArch='x64' ;; arm64) upstreamArch='aarch64' ;; *) echo >&2 "error: unsupported architecture: $dpkgArch" ;; esac; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dirmngr gnupg wget ; rm -rf /var/lib/apt/lists/*; wget -O openjdk.tgz.asc "${JAVA_BASE_URL}${upstreamArch}_linux_${JAVA_URL_VERSION}.tar.gz.sign"; wget -O openjdk.tgz "${JAVA_BASE_URL}${upstreamArch}_linux_${JAVA_URL_VERSION}.tar.gz" --progress=dot:giga; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys CA5F11C6CE22644D42C6AC4492EF8D39DC13168F; gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys EAC843EBD3EFDB98CC772FADA5CD6035332FA671; gpg --batch --list-sigs --keyid-format 0xLONG CA5F11C6CE22644D42C6AC4492EF8D39DC13168F | 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*; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; { echo '#!/usr/bin/env bash'; echo 'set -Eeuo pipefail'; echo 'if ! [ -d "$JAVA_HOME" ]; then echo >&2 "error: missing JAVA_HOME environment variable"; exit 1; fi'; echo 'cacertsFile=; for f in "$JAVA_HOME/lib/security/cacerts" "$JAVA_HOME/jre/lib/security/cacerts"; do if [ -e "$f" ]; then cacertsFile="$f"; break; fi; done'; echo 'if [ -z "$cacertsFile" ] || ! [ -f "$cacertsFile" ]; then echo >&2 "error: failed to find cacerts file in $JAVA_HOME"; exit 1; fi'; echo 'trust extract --overwrite --format=java-cacerts --filter=ca-anchors --purpose=server-auth "$cacertsFile"'; } > /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; java -version
0.00B 2019-07-16 07:50:32 /bin/sh -c #(nop) ENV JAVA_URL_VERSION=8u212b04
0.00B 2019-07-16 07:50:32 /bin/sh -c #(nop) ENV JAVA_BASE_URL=https://github.com/AdoptOpenJDK/openjdk8-upstream-binaries/releases/download/jdk8u212-b04/OpenJDK8U-jre_
0.00B 2019-07-16 07:50:05 /bin/sh -c #(nop) ENV JAVA_VERSION=8u212-b04
27.00B 2019-07-16 07:50:05 /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)" ]
0.00B 2019-07-16 07:50:04 /bin/sh -c #(nop) ENV PATH=/usr/local/openjdk-8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
0.00B 2019-07-16 07:50:04 /bin/sh -c #(nop) ENV JAVA_HOME=/usr/local/openjdk-8
0.00B 2019-07-16 07:49:31 /bin/sh -c #(nop) ENV LANG=C.UTF-8
8.79MB 2019-07-16 07:49:31 /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates p11-kit ; rm -rf /var/lib/apt/lists/*
0.00B 2019-07-10 05:22:33 /bin/sh -c #(nop) CMD ["bash"]
69.20MB 2019-07-10 05:22:33 /bin/sh -c #(nop) ADD file:71ac26257198ecf6a4ea05f45e522de961543a965486dd49a86bd6aca8342026 in /

镜像信息

{
    "Id": "sha256:57583b88a4ae62791251197d056493a094ab0f39f51466d73a7f60831b919cc8",
    "RepoTags": [
        "openjdk:8u212-jre-slim",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:8u212-jre-slim"
    ],
    "RepoDigests": [
        "openjdk@sha256:8d0d4a2ccee06bb6dc9b98e09a5685b3f5126966e895fb835057e23bfb48e982",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk@sha256:42eb66a64ef7aa29b6ffc1d5208f4f272a79025cd62bc31ae9f131d04b8d6c15"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2019-07-15T23:50:44.776857952Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "18.06.1-ce",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/openjdk-8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "LANG=C.UTF-8",
            "JAVA_HOME=/usr/local/openjdk-8",
            "JAVA_VERSION=8u212-b04",
            "JAVA_BASE_URL=https://github.com/AdoptOpenJDK/openjdk8-upstream-binaries/releases/download/jdk8u212-b04/OpenJDK8U-jre_",
            "JAVA_URL_VERSION=8u212b04"
        ],
        "Cmd": [
            "bash"
        ],
        "ArgsEscaped": true,
        "Image": "sha256:8660ae4f488934f35095b76749fa22f5a97516759cf7747595a217134c38f1e6",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 183491699,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/f50b6ba5d1961829af7ebd26553ce07bb11cbf69347e1ca5205051f25df23209/diff:/var/lib/docker/overlay2/32f3e3d2f9f1c52fcea2f55668510e5dedfdc407aadc43dc98d70a75cdb37ef5/diff:/var/lib/docker/overlay2/270a5a5f949347abe4499f6b8a0f4635335e2a0bb6da146aed723f9ac72b34ab/diff",
            "MergedDir": "/var/lib/docker/overlay2/2fe46108a88bb3206a447f23e8ef5b72cf79624b7db001007ab318b318594625/merged",
            "UpperDir": "/var/lib/docker/overlay2/2fe46108a88bb3206a447f23e8ef5b72cf79624b7db001007ab318b318594625/diff",
            "WorkDir": "/var/lib/docker/overlay2/2fe46108a88bb3206a447f23e8ef5b72cf79624b7db001007ab318b318594625/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:d8a33133e477d367977987129313d9072e0ec80894ed4c52c2d88186f354c29a",
            "sha256:8d768709f9c6294b2d6d5a5ff7cc2af3d2054ffefbbfad5cc7637de51b7975b9",
            "sha256:37a43b138e10fc818ec9e7bdb4810362e62b7e0e01cb3de66335f58e3ad76f31",
            "sha256:60536a32b19850a6a02d402306693f6dfa39685e1537e0ea0df6d18755133ca3"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-09-04T17:14:45.444490564+08:00"
    }
}

更多版本

docker.io/openjdk:16-buster

linux/amd64 docker.io649.69MB2024-03-11 14:22
434

docker.io/openjdk:16-jdk-buster

linux/amd64 docker.io649.69MB2024-03-11 14:23
439

docker.io/openjdk:16.0.2

linux/amd64 docker.io466.76MB2024-03-11 14:27
442

docker.io/openjdk:23-slim-bookworm

linux/amd64 docker.io444.61MB2024-06-11 18:22
366

docker.io/openjdk:11

linux/arm64 docker.io648.97MB2024-06-26 14:16
755

docker.io/openjdk:11

linux/amd64 docker.io654.17MB2024-06-26 14:16
911

docker.io/openjdk:8-jdk-alpine3.9

linux/amd64 docker.io104.82MB2024-06-29 09:59
1687

docker.io/openjdk:8-jre

linux/amd64 docker.io273.57MB2024-07-03 15:46
2811

docker.io/openjdk:17

linux/amd64 docker.io471.47MB2024-07-03 21:43
2877

docker.io/openjdk:17-slim

linux/amd64 docker.io407.75MB2024-07-03 23:24
1177

docker.io/openjdk:8u212-jre-alpine3.9

linux/arm64 docker.io83.40MB2024-08-12 11:28
487

docker.io/openjdk:8-jdk

linux/amd64 docker.io526.05MB2024-08-13 13:46
1079

docker.io/openjdk:8u282-jre-buster

linux/amd64 docker.io267.78MB2024-08-16 10:23
474

docker.io/openjdk:11.0.16-jdk

linux/amd64 docker.io654.17MB2024-08-16 10:57
220

docker.io/openjdk:17-jdk-alpine

linux/amd64 docker.io325.60MB2024-08-17 10:41
948

docker.io/openjdk:17.0.2-oraclelinux8

linux/amd64 docker.io471.47MB2024-08-22 14:22
285

docker.io/openjdk:18-bullseye

linux/amd64 docker.io667.10MB2024-08-29 15:34
229

docker.io/openjdk:8u212-jre-slim

linux/amd64 docker.io183.49MB2024-09-04 17:14
266

docker.io/openjdk:8-alpine

linux/arm64 docker.io103.03MB2024-09-20 09:46
314

docker.io/openjdk:17-jdk

linux/arm64 docker.io501.30MB2024-09-20 15:57
526

docker.io/openjdk:21

linux/amd64 docker.io504.20MB2024-10-06 17:28
634

docker.io/openjdk:8u342-jdk

linux/amd64 docker.io526.05MB2024-10-10 17:45
580

docker.io/openjdk:8u102-jdk

linux/amd64 docker.io641.03MB2024-10-29 01:42
74

docker.io/openjdk:8u342-jre-slim-buster

linux/arm64 docker.io180.00MB2024-11-04 14:44
48

docker.io/openjdk:8-jre-slim

linux/arm64 docker.io187.31MB2024-11-06 14:55
44

docker.io/openjdk:8u292

linux/amd64 docker.io513.97MB2024-11-07 14:14
38

docker.io/openjdk:8u342

linux/arm64 docker.io520.16MB2024-11-07 17:41
55

docker.io/openjdk:8-jdk-alpine

linux/arm64 docker.io103.03MB2024-11-11 12:32
43

docker.io/openjdk:8-jdk-alpine

linux/arm docker.io87.74MB2024-11-11 12:34
27

docker.io/openjdk:8-jdk-alpine

linux/ppc64le docker.io116.60MB2024-11-11 12:37
22

docker.io/openjdk:8-jdk-alpine

linux/s390x docker.io101.41MB2024-11-11 12:39
23