docker.io/openjdk:18-bullseye linux/amd64

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

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

源镜像 docker.io/openjdk:18-bullseye
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:18-bullseye
镜像ID sha256:66ba34a0f9e27374a764fb8011cf997814565a8a2af55ec512eb11974e6f5aad
镜像TAG 18-bullseye
大小 667.10MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD jshell
启动入口
工作目录
OS/平台 linux/amd64
浏览量 230 次
贡献者 li*****i@outlook.com
镜像创建 2023-02-09T10:50:04.928084609Z
同步时间 2024-08-29 15:34
更新时间 2024-11-21 15:11
环境变量
PATH=/usr/local/openjdk-18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin JAVA_HOME=/usr/local/openjdk-18 LANG=C.UTF-8 JAVA_VERSION=18.0.2.1

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2023-02-09 18:50:04 /bin/sh -c #(nop) CMD ["jshell"]
323.81MB 2023-02-09 18:50:04 /bin/sh -c set -eux; arch="$(dpkg --print-architecture)"; case "$arch" in 'amd64') downloadUrl='https://download.java.net/java/GA/jdk18.0.2.1/db379da656dc47308e138f21b33976fa/1/GPL/openjdk-18.0.2.1_linux-x64_bin.tar.gz'; downloadSha256='3bfdb59fc38884672677cebca9a216902d87fe867563182ae8bc3373a65a2ebd'; ;; 'arm64') downloadUrl='https://download.java.net/java/GA/jdk18.0.2.1/db379da656dc47308e138f21b33976fa/1/GPL/openjdk-18.0.2.1_linux-aarch64_bin.tar.gz'; downloadSha256='79900237a5912045f8c9f1065b5204a474803cbbb4d075ab9620650fb75dfc1b'; ;; *) echo >&2 "error: unsupported architecture: '$arch'"; exit 1 ;; esac; wget --progress=dot:giga -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*; { 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; fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java; javac --version; java --version
0.00B 2023-02-09 18:49:54 /bin/sh -c #(nop) ENV JAVA_VERSION=18.0.2.1
0.00B 2023-02-09 18:49:53 /bin/sh -c #(nop) ENV LANG=C.UTF-8
0.00B 2023-02-09 18:49:53 /bin/sh -c #(nop) ENV PATH=/usr/local/openjdk-18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
0.00B 2023-02-09 18:49:53 /bin/sh -c #(nop) ENV JAVA_HOME=/usr/local/openjdk-18
37.54MB 2023-02-09 18:46:55 /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends bzip2 unzip xz-utils binutils fontconfig libfreetype6 ca-certificates p11-kit ; rm -rf /var/lib/apt/lists/*
151.98MB 2023-02-09 17:11:09 /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 2023-02-09 17:10:49 /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.70MB 2023-02-09 17:10:43 /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 2023-02-09 11:20:05 /bin/sh -c #(nop) CMD ["bash"]
124.12MB 2023-02-09 11:20:05 /bin/sh -c #(nop) ADD file:b03d13d345c29f69557f410c8504e748226756d1f48e5abdb63cd40179b2640c in /

镜像信息

{
    "Id": "sha256:66ba34a0f9e27374a764fb8011cf997814565a8a2af55ec512eb11974e6f5aad",
    "RepoTags": [
        "openjdk:18-bullseye",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:18-bullseye"
    ],
    "RepoDigests": [
        "openjdk@sha256:3e02cac98c2c232518e432efae00d43151a93c1651332fb71a02bfe08e594da9",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk@sha256:88ed59bc16860d404324b2c6acebf04ede3b823c4c62ef200b475b0da9733666"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2023-02-09T10:50:04.928084609Z",
    "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-18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "JAVA_HOME=/usr/local/openjdk-18",
            "LANG=C.UTF-8",
            "JAVA_VERSION=18.0.2.1"
        ],
        "Cmd": [
            "jshell"
        ],
        "Image": "sha256:003b51bca6e09e7887bcc71eea894f77c3936fc068fc97fef85adcf0db9c4101",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 667098877,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/f542b9e842e5852f3dbd78b3af05eec4154f156ff68f45d5e60f7e9e5ed80854/diff:/var/lib/docker/overlay2/50e474c6c6e6e4fd4683a8460c7442b706b590876aef95ad7297c3481e4d1fdc/diff:/var/lib/docker/overlay2/2afcb0a9d403cc1c08df515e84605adc6071a96a9bb8cc0f88f25858e9c8b7dd/diff:/var/lib/docker/overlay2/6613ff8870e8fb8bcd0d6eb06d02ac3ff95cadb69fe8aae2972ae13b9fdbf1ec/diff:/var/lib/docker/overlay2/e1bb6b8cd02c544065585adac933dca31231869f2e37c45ecd637f1ea8294ab4/diff",
            "MergedDir": "/var/lib/docker/overlay2/8b4f10d80b8d98b22af343976c34f0a8bea7b5f28deebcf85f9c061b86b7f29d/merged",
            "UpperDir": "/var/lib/docker/overlay2/8b4f10d80b8d98b22af343976c34f0a8bea7b5f28deebcf85f9c061b86b7f29d/diff",
            "WorkDir": "/var/lib/docker/overlay2/8b4f10d80b8d98b22af343976c34f0a8bea7b5f28deebcf85f9c061b86b7f29d/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:8e396a1aad506affc6fa1b7c7b8ee75b54b78019e0a945e6ac52e3dc407e0766",
            "sha256:9d49e0bc68a4667c0e9626a6c6d52028c7bf4fc70aae065950ecf12ca16cf627",
            "sha256:dc8e1d8b53e9701a7b4ce09222181108f26772c8c4109737eebc49228533eb2f",
            "sha256:11829b3be9c01212cbca7374e6740e745f9908834bfe3d04770ced7840adf1a8",
            "sha256:09c51dc96fbb30f5a2fdeda8d3ea15166393a368fd8052aa7415ff497ab9ebaa",
            "sha256:c0a9eef1e3caaa5fd69ffc2f076ef0b30734b69ee7f2a85b6b5cf9b033c365fd"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-08-29T15:33:14.339026365+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
367

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
2878

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
267

docker.io/openjdk:8-alpine

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

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
49

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
39

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