docker.io/openjdk:8-jdk linux/amd64

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

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

源镜像 docker.io/openjdk:8-jdk
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:8-jdk
镜像ID sha256:b273004037cc3af245d8e08cfbfa672b93ee7dcb289736c82d0b58936fb71702
镜像TAG 8-jdk
大小 526.05MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD bash
启动入口
工作目录
OS/平台 linux/amd64
浏览量 1079 次
贡献者
镜像创建 2022-08-02T05:54:47.351071582Z
同步时间 2024-08-13 13:46
更新时间 2024-11-21 11:30
环境变量
PATH=/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

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
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:b273004037cc3af245d8e08cfbfa672b93ee7dcb289736c82d0b58936fb71702",
    "RepoTags": [
        "openjdk:8-jdk",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:8-jdk"
    ],
    "RepoDigests": [
        "openjdk@sha256:86e863cc57215cfb181bd319736d0baf625fe8f150577f9eb58bd937f5452cb8",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk@sha256:3af2ac94130765b73fc8f1b42ffc04f77996ed8210c297fcfa28ca880ff0a217"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2022-08-02T05:54:47.351071582Z",
    "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-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"
        ],
        "Cmd": [
            "bash"
        ],
        "Image": "sha256:80f8c9ba22a662bd88c96138e67dc21e9f3543b9b493a91db4a3cb90a60297c9",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 526049613,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/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/68d6c23632101b9ef6d7376311bcbc21da7c53a4e602efd13280f8a870541f05/merged",
            "UpperDir": "/var/lib/docker/overlay2/68d6c23632101b9ef6d7376311bcbc21da7c53a4e602efd13280f8a870541f05/diff",
            "WorkDir": "/var/lib/docker/overlay2/68d6c23632101b9ef6d7376311bcbc21da7c53a4e602efd13280f8a870541f05/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:9c742cd6c7a5752ee36be8ecb14be45c0885e10e6dd34f26a9ae3eb096c5d492",
            "sha256:03127cdb479b0f1eb8a9b0df8e8d72ead24979728d3c84ff645611b9d8790f94",
            "sha256:293d5db30c9fcf33b65fa033e427fdd118464f9ea0c2a343a478a6e89c29140e",
            "sha256:9b55156abf262eac3e6bd3ae60e7277ab4f9c69543650d7ecefc8c26ee889873",
            "sha256:b626401ef603dd383fc3a43cf474186827db1875591bfc84b178177ca010015b",
            "sha256:53a0b163e9955ffb80569ef37e13fbf5d1074ddd67bc5ad09d7bd874b800396a",
            "sha256:6b5aaff4425423d122ebe4f1514a1994ae60954fc8a2299787df0ddb1a12f6b9"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-08-13T13:46:36.933686027+08:00"
    }
}

更多版本

docker.io/openjdk:16-buster

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

docker.io/openjdk:16-jdk-buster

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

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
2809

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
1176

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
1078

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

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

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
633

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
73

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
54

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
21

docker.io/openjdk:8-jdk-alpine

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