docker.io/openjdk:11-jre-slim linux/amd64

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

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

源镜像 docker.io/openjdk:11-jre-slim
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:11-jre-slim
镜像ID sha256:764a04af3eff09cc6a29bcc19cf6315dbea455d7392c1a588a5deb331a929c29
镜像TAG 11-jre-slim
大小 223.27MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD bash
启动入口
工作目录
OS/平台 linux/amd64
浏览量 47 次
贡献者
镜像创建 2022-08-02T05:53:58.551143539Z
同步时间 2024-11-22 11:25
更新时间 2024-12-04 14:07
环境变量
PATH=/usr/local/openjdk-11/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin JAVA_HOME=/usr/local/openjdk-11 LANG=C.UTF-8 JAVA_VERSION=11.0.16
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 11.4 扫描引擎: Trivy 扫描时间: 2024-11-22 11:26

低危漏洞:87 中危漏洞:59 高危漏洞:62 严重漏洞:10

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
138.00MB 2022-08-02 13:53:58 /bin/sh -c set -eux; arch="$(dpkg --print-architecture)"; case "$arch" in 'amd64') downloadUrl='https://github.com/AdoptOpenJDK/openjdk11-upstream-binaries/releases/download/jdk-11.0.16%2B8/OpenJDK11U-jre_x64_linux_11.0.16_8.tar.gz'; ;; 'arm64') downloadUrl='https://github.com/AdoptOpenJDK/openjdk11-upstream-binaries/releases/download/jdk-11.0.16%2B8/OpenJDK11U-jre_aarch64_linux_11.0.16_8.tar.gz'; ;; *) echo >&2 "error: unsupported architecture: '$arch'"; exit 1 ;; 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 --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*; 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 'trust extract --overwrite --format=java-cacerts --filter=ca-anchors --purpose=server-auth "$JAVA_HOME/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; java -Xshare:dump; java --version
0.00B 2022-08-02 13:52:17 /bin/sh -c #(nop) ENV JAVA_VERSION=11.0.16
0.00B 2022-08-02 13:52:17 /bin/sh -c #(nop) ENV LANG=C.UTF-8
0.00B 2022-08-02 13:52:17 /bin/sh -c #(nop) ENV PATH=/usr/local/openjdk-11/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
27.00B 2022-08-02 13:52:17 /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:52:16 /bin/sh -c #(nop) ENV JAVA_HOME=/usr/local/openjdk-11
4.88MB 2022-08-02 13:48:05 /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 2022-08-02 09:20:05 /bin/sh -c #(nop) CMD ["bash"]
80.39MB 2022-08-02 09:20:04 /bin/sh -c #(nop) ADD file:0eae0dca665c7044bf242cb1fc92cb8ea744f5af2dd376a558c90bc47349aefe in /

镜像信息

{
    "Id": "sha256:764a04af3eff09cc6a29bcc19cf6315dbea455d7392c1a588a5deb331a929c29",
    "RepoTags": [
        "openjdk:11-jre-slim",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:11-jre-slim"
    ],
    "RepoDigests": [
        "openjdk@sha256:93af7df2308c5141a751c4830e6b6c5717db102b3b31f012ea29d842dc4f2b02",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk@sha256:884c08d0f406a81ae1b5786932abaf399c335b997da7eea6a30cc51529220b66"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2022-08-02T05:53:58.551143539Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.12",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/openjdk-11/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "JAVA_HOME=/usr/local/openjdk-11",
            "LANG=C.UTF-8",
            "JAVA_VERSION=11.0.16"
        ],
        "Cmd": [
            "bash"
        ],
        "Image": "sha256:3226434fcb192a234cade783b9261d67e90e54bd68c4b9122c217d6c5950f322",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 223268915,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/3f6ad1b70e989e0d0ee48b4fb9e801ec62625807e5c5d19a0dbcde9c77a714f3/diff:/var/lib/docker/overlay2/9c71e9255f93b8db166af620ce1c6555d75ed5cbe12cfe711321c244665ba88a/diff:/var/lib/docker/overlay2/7ea06a880f35006476b5fe87975006641ae6094e7a3dae782a694ea632aba0f0/diff",
            "MergedDir": "/var/lib/docker/overlay2/fbc43f3c241be5b4daefd9ff551eb633473a57e0ad6934e1ccec42cddaf689e0/merged",
            "UpperDir": "/var/lib/docker/overlay2/fbc43f3c241be5b4daefd9ff551eb633473a57e0ad6934e1ccec42cddaf689e0/diff",
            "WorkDir": "/var/lib/docker/overlay2/fbc43f3c241be5b4daefd9ff551eb633473a57e0ad6934e1ccec42cddaf689e0/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:92a4e8a3140f7a04a0e5a15793adef2d0e8889ed306a8f95a6cfb67cecb5f212",
            "sha256:eafe6e032dbd1979848a323c4c84071be765d175661d6ea2ac148dbd673c6713",
            "sha256:e3abdc2e92525469b91b8616216f3ab94b40c98f99e9690fd8505725fd7e1bfe",
            "sha256:d7802b8508afcba9f87b128ab24e5e2706476a94b1d9610602fda64bf273a845"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-22T11:25:21.508881836+08:00"
    }
}

更多版本

docker.io/openjdk:16-buster

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

docker.io/openjdk:16-jdk-buster

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

docker.io/openjdk:16.0.2

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

docker.io/openjdk:23-slim-bookworm

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

docker.io/openjdk:11

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

docker.io/openjdk:11

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

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

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

docker.io/openjdk:8-jre

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

docker.io/openjdk:17

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

docker.io/openjdk:17-slim

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

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

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

docker.io/openjdk:8-jdk

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

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

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

docker.io/openjdk:11.0.16-jdk

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

docker.io/openjdk:17-jdk-alpine

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

docker.io/openjdk:17.0.2-oraclelinux8

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

docker.io/openjdk:18-bullseye

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

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

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

docker.io/openjdk:8-alpine

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

docker.io/openjdk:17-jdk

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

docker.io/openjdk:21

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

docker.io/openjdk:8u342-jdk

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

docker.io/openjdk:8u102-jdk

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

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

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

docker.io/openjdk:8-jre-slim

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

docker.io/openjdk:8u292

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

docker.io/openjdk:8u342

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

docker.io/openjdk:8-jdk-alpine

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

docker.io/openjdk:8-jdk-alpine

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

docker.io/openjdk:8-jdk-alpine

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

docker.io/openjdk:8-jdk-alpine

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

docker.io/openjdk:11-jre-slim

linux/amd64 docker.io223.27MB2024-11-22 11:25
46

docker.io/openjdk:8-jdk

linux/arm64 docker.io520.16MB2024-11-22 11:57
46

docker.io/openjdk:17.0.2-jdk-slim

linux/amd64 docker.io407.75MB2024-11-26 15:16
29

docker.io/openjdk:21-jdk-oraclelinux7

linux/amd64 docker.io529.44MB2024-12-01 14:09
20

docker.io/openjdk:18-ea-18-jdk-buster

linux/amd64 docker.io654.49MB2024-12-03 14:22
9