docker.io/openjdk:17-jdk linux/arm64

docker.io/openjdk:17-jdk - 国内下载镜像源 浏览次数:572 安全受验证的发布者-OpenJdk 温馨提示: 这是一个 linux/arm64 系统架构镜像

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

源镜像 docker.io/openjdk:17-jdk
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:17-jdk-linuxarm64
镜像ID sha256:4717374ea615130b05563033606c237efe452e58018595092592ed35a1fb8d5e
镜像TAG 17-jdk-linuxarm64
大小 501.30MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD jshell
启动入口
工作目录
OS/平台 linux/arm64
浏览量 572 次
贡献者
镜像创建 2022-04-27T23:29:54.241265971Z
同步时间 2024-09-20 15:57
更新时间 2024-12-03 18:44
环境变量
PATH=/usr/java/openjdk-17/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin JAVA_HOME=/usr/java/openjdk-17 LANG=C.UTF-8 JAVA_VERSION=17.0.2

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:17-jdk-linuxarm64
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:17-jdk-linuxarm64  docker.io/openjdk:17-jdk

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:17-jdk-linuxarm64
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:17-jdk-linuxarm64  docker.io/openjdk:17-jdk

Shell快速替换命令

sed -i 's#openjdk:17-jdk#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:17-jdk-linuxarm64#' deployment.yaml

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2022-04-28 07:29:54 /bin/sh -c #(nop) CMD ["jshell"]
323.11MB 2022-04-28 07:29:53 /bin/sh -c set -eux; arch="$(objdump="$(command -v objdump)" && objdump --file-headers "$objdump" | awk -F '[:,]+[[:space:]]+' '$1 == "architecture" { print $2 }')"; case "$arch" in 'i386:x86-64') downloadUrl='https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2_linux-x64_bin.tar.gz'; downloadSha256='0022753d0cceecacdd3a795dd4cea2bd7ffdf9dc06e22ffd1be98411742fbb44'; ;; 'aarch64') downloadUrl='https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2_linux-aarch64_bin.tar.gz'; downloadSha256='13bfd976acf8803f862e82c7113fb0e9311ca5458b1decaef8a09ffd91119fa4'; ;; *) echo >&2 "error: unsupported architecture: '$arch'"; exit 1 ;; esac; curl -fL -o openjdk.tgz "$downloadUrl"; echo "$downloadSha256 *openjdk.tgz" | sha256sum --strict --check -; mkdir -p "$JAVA_HOME"; tar --extract --file openjdk.tgz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm openjdk.tgz*; rm -rf "$JAVA_HOME/lib/security/cacerts"; ln -sT /etc/pki/ca-trust/extracted/java/cacerts "$JAVA_HOME/lib/security/cacerts"; ln -sfT "$JAVA_HOME" /usr/java/default; ln -sfT "$JAVA_HOME" /usr/java/latest; for bin in "$JAVA_HOME/bin/"*; do base="$(basename "$bin")"; [ ! -e "/usr/bin/$base" ]; alternatives --install "/usr/bin/$base" "$base" "$bin" 20000; done; java -Xshare:dump; fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java; javac --version; java --version
0.00B 2022-04-28 07:29:42 /bin/sh -c #(nop) ENV JAVA_VERSION=17.0.2
0.00B 2022-04-28 07:29:41 /bin/sh -c #(nop) ENV LANG=C.UTF-8
0.00B 2022-04-28 07:29:40 /bin/sh -c #(nop) ENV PATH=/usr/java/openjdk-17/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
0.00B 2022-04-28 07:29:39 /bin/sh -c #(nop) ENV JAVA_HOME=/usr/java/openjdk-17
44.93MB 2022-04-28 07:27:35 /bin/sh -c set -eux; microdnf install gzip tar binutils freetype fontconfig ; microdnf clean all
0.00B 2022-04-28 06:55:53 /bin/sh -c #(nop) CMD ["/bin/bash"]
133.25MB 2022-04-28 06:55:53 /bin/sh -c #(nop) ADD file:6fef7a4ab2de57c438dad76949e7eb87cfb1ea6f45b0f2423f71188efdaa0d8e in /

镜像信息

{
    "Id": "sha256:4717374ea615130b05563033606c237efe452e58018595092592ed35a1fb8d5e",
    "RepoTags": [
        "openjdk:17-jdk",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:17-jdk-linuxarm64"
    ],
    "RepoDigests": [
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk@sha256:2fd12c42c12bf707f7ac0f5fa630ff9c59868dfc4428daaf34df9d82a0c5b101"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2022-04-27T23:29:54.241265971Z",
    "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/java/openjdk-17/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "JAVA_HOME=/usr/java/openjdk-17",
            "LANG=C.UTF-8",
            "JAVA_VERSION=17.0.2"
        ],
        "Cmd": [
            "jshell"
        ],
        "Image": "sha256:4aace15a2c5dc456a57f8f876f842adbef69c0e53e8dc68e449cc9d591faa529",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "arm64",
    "Variant": "v8",
    "Os": "linux",
    "Size": 501295850,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/5cf0af6682ba1072e8564637a5992f8c14d1c83f8b364353fe0ff186082e36b7/diff:/var/lib/docker/overlay2/2208d23fa7e975c32fcc2e47bd2e05ab2307eda1f6f771ced9baa171708b8025/diff",
            "MergedDir": "/var/lib/docker/overlay2/470cf96aaf48b0b8b912575d33b768b249033d26acfb2a7d0c84bceec5263f3d/merged",
            "UpperDir": "/var/lib/docker/overlay2/470cf96aaf48b0b8b912575d33b768b249033d26acfb2a7d0c84bceec5263f3d/diff",
            "WorkDir": "/var/lib/docker/overlay2/470cf96aaf48b0b8b912575d33b768b249033d26acfb2a7d0c84bceec5263f3d/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:b0d4c4485e7e7fdd7cb6a595a4845c47e39fdfac598fde0fbd8f327423ceb5a0",
            "sha256:03ee828ef0e49649de4f809d41b8cb2c29e193269f809d3de2a5b6021bc44cec",
            "sha256:e017d39c755a5133aebbe26075334984cb9a3e18ff9a6790123072fd1f2d3c53"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-09-20T15:56:46.622754672+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
384

docker.io/openjdk:11

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

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
1762

docker.io/openjdk:8-jre

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

docker.io/openjdk:17

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

docker.io/openjdk:17-slim

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

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

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

docker.io/openjdk:8-jdk

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

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

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

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
993

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
240

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
338

docker.io/openjdk:17-jdk

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

docker.io/openjdk:21

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

docker.io/openjdk:8u342-jdk

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

docker.io/openjdk:8u102-jdk

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

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

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

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
54

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
78

docker.io/openjdk:8-jdk-alpine

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

docker.io/openjdk:8-jdk-alpine

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

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
45

docker.io/openjdk:8-jdk

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

docker.io/openjdk:17.0.2-jdk-slim

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

docker.io/openjdk:21-jdk-oraclelinux7

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

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

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