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

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

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

源镜像 docker.io/openjdk:18-ea-18-jdk-buster
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:18-ea-18-jdk-buster
镜像ID sha256:47d9cf470a79aab83012dc99c14b184fcc811fc8ba4d30c453b33cf82e66e4c5
镜像TAG 18-ea-18-jdk-buster
大小 654.49MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD jshell
启动入口
工作目录
OS/平台 linux/amd64
浏览量 57 次
贡献者
镜像创建 2021-10-12T16:28:33.83535474Z
同步时间 2024-12-03 14:22
更新时间 2025-01-17 09:53
环境变量
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-ea+18

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2021-10-13 00:28:33  0.00B 
/bin/sh -c #(nop)  CMD ["jshell"]
                        
# 2021-10-13 00:28:33  321.71MB 
/bin/sh -c set -eux; 		arch="$(dpkg --print-architecture)"; 	case "$arch" in 		'amd64') 			downloadUrl='https://download.java.net/java/early_access/jdk18/18/GPL/openjdk-18-ea+18_linux-x64_bin.tar.gz'; 			downloadSha256='425b4f9afe439b4690593e5f78e27b6687525114a66f652c285a7dcca95b1961'; 			;; 		'arm64') 			downloadUrl='https://download.java.net/java/early_access/jdk18/18/GPL/openjdk-18-ea+18_linux-aarch64_bin.tar.gz'; 			downloadSha256='af5b0d66cf7c4f7450066fd67dbb0d48c17bcc5ab8ddb105cf7fe66176427f87'; 			;; 		*) 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
                        
# 2021-10-13 00:28:21  0.00B 
/bin/sh -c #(nop)  ENV JAVA_VERSION=18-ea+18
                        
# 2021-10-13 00:28:21  0.00B 
/bin/sh -c #(nop)  ENV LANG=C.UTF-8
                        
# 2021-10-13 00:28:21  0.00B 
/bin/sh -c #(nop)  ENV PATH=/usr/local/openjdk-18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2021-10-13 00:28:20  0.00B 
/bin/sh -c #(nop)  ENV JAVA_HOME=/usr/local/openjdk-18
                        
# 2021-10-13 00:28:20  39.07MB 
/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/*
                        
# 2021-10-12 23:44:41  145.54MB 
/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/*
                        
# 2021-10-12 23:44:21  17.54MB 
/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
                        
# 2021-10-12 23:44:14  16.51MB 
/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/*
                        
# 2021-10-12 09:20:53  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2021-10-12 09:20:53  114.11MB 
/bin/sh -c #(nop) ADD file:98c256057b79b141aea9a806a4538cf6c3f340d7e3b0d6e8c363699333f3406b in / 
                        
                    

镜像信息

{
    "Id": "sha256:47d9cf470a79aab83012dc99c14b184fcc811fc8ba4d30c453b33cf82e66e4c5",
    "RepoTags": [
        "openjdk:18-ea-18-jdk-buster",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk:18-ea-18-jdk-buster"
    ],
    "RepoDigests": [
        "openjdk@sha256:d761213f5555911818592413c7ecb553c1d8d85b14e133f67208997ce5a7b72c",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/openjdk@sha256:7001c698663d943056034d9dd0b7c9eb7f3a82bc9a277c3ae30f7483438dd13d"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2021-10-12T16:28:33.83535474Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.7",
    "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-ea+18"
        ],
        "Cmd": [
            "jshell"
        ],
        "Image": "sha256:e2d4681653977a65dac58f04c758225ede8fcd25553470c72aadc2376cba650b",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 654485354,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/af9ed7157c574ca54a2a4225237f3fb4dbb4d8c6bcb903d9aa552a7e686915a6/diff:/var/lib/docker/overlay2/4c6127d89bd3cddc3b34b60f8a7360ea8fcacf24735cd154f294dc657aa40187/diff:/var/lib/docker/overlay2/1fa60aa601d2c38b5a8b23e090513442cf21462559dfc242b35e021458aa7ce8/diff:/var/lib/docker/overlay2/d527a7ca16b931225929315c3f5a29d7eb9925d43563d60cf55b6335cf0185dd/diff:/var/lib/docker/overlay2/dd2027dc848100cab23e376db316e9b2d86dea36236f58235b5a112283b09d7d/diff",
            "MergedDir": "/var/lib/docker/overlay2/3b05d3d0e8ef145cc55d86f06deaf949e8ec228d2f22932432c6bd105d5a46bc/merged",
            "UpperDir": "/var/lib/docker/overlay2/3b05d3d0e8ef145cc55d86f06deaf949e8ec228d2f22932432c6bd105d5a46bc/diff",
            "WorkDir": "/var/lib/docker/overlay2/3b05d3d0e8ef145cc55d86f06deaf949e8ec228d2f22932432c6bd105d5a46bc/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:d6a325d281f2a509f28cb5f48f80d48f979b4b60873f9c42724c3ba3ccd90c4c",
            "sha256:42aff4deb538ac2187fdf2545a0e2eaa01f0903ee5387ae0528aa0a4537ef9a7",
            "sha256:2ff7f567e600376c9a419e7a14b49989ffcc3bc61f597bfca845502c22c9816b",
            "sha256:52ed97b6b9c695f0756189ed97ce0ae0f39ac8e17601ff435411bbc9ef1fc7dc",
            "sha256:f38d4f07d5bbbb5b99c4f1df0185c21357e949ce9d4c740ce72e46da1434fd85",
            "sha256:400a313aaaa6d249f9e2ab3e5d67e2a56733489a70508f7aea82eb9188a6777e"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-03T14:21:33.750644271+08:00"
    }
}

更多版本

docker.io/openjdk:16-buster

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

docker.io/openjdk:16-jdk-buster

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

docker.io/openjdk:16.0.2

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

docker.io/openjdk:23-slim-bookworm

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

docker.io/openjdk:11

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

docker.io/openjdk:11

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

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

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

docker.io/openjdk:8-jre

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

docker.io/openjdk:17

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

docker.io/openjdk:17-slim

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

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

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

docker.io/openjdk:8-jdk

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

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

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

docker.io/openjdk:11.0.16-jdk

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

docker.io/openjdk:17-jdk-alpine

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

docker.io/openjdk:17.0.2-oraclelinux8

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

docker.io/openjdk:18-bullseye

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

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

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

docker.io/openjdk:8-alpine

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

docker.io/openjdk:17-jdk

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

docker.io/openjdk:21

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

docker.io/openjdk:8u342-jdk

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

docker.io/openjdk:8u102-jdk

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

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

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

docker.io/openjdk:8-jre-slim

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

docker.io/openjdk:8u292

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

docker.io/openjdk:8u342

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

docker.io/openjdk:8-jdk-alpine

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

docker.io/openjdk:8-jdk-alpine

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

docker.io/openjdk:8-jdk-alpine

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

docker.io/openjdk:8-jdk-alpine

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

docker.io/openjdk:11-jre-slim

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

docker.io/openjdk:8-jdk

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

docker.io/openjdk:17.0.2-jdk-slim

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

docker.io/openjdk:21-jdk-oraclelinux7

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

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

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

docker.io/openjdk:17-oracle

linux/amd64 docker.io471.47MB2024-12-06 15:02
63

docker.io/openjdk:8u342-jdk

linux/arm64 docker.io520.16MB2024-12-25 10:54
52

docker.io/openjdk:23-jdk-bookworm

linux/amd64 docker.io747.07MB2025-01-04 14:36
34

docker.io/openjdk:17.0.2-jdk

linux/amd64 docker.io471.47MB2025-01-13 09:52
25

docker.io/openjdk:17.0.2-jdk-slim-bullseye

linux/amd64 docker.io407.75MB2025-01-13 16:31
26

docker.io/openjdk:17-jdk

linux/amd64 docker.io471.47MB2025-01-15 17:19
25