docker.io/adoptopenjdk/openjdk11:debian linux/arm64

docker.io/adoptopenjdk/openjdk11:debian - 国内下载镜像源 浏览次数:114 温馨提示: 这是一个 linux/arm64 系统架构镜像
## OpenJDK 11 镜像 该镜像基于 Docker.io 的 AdoptOpenJDK/openjdk11 镜像,该镜像是使用 Java 11 编译构建的。
  1. 语言:Java
  2. 版本:11
  3. 来源:Docker.io
  4. 名称:adoptopenjdk/openjdk11
使用 Docker 的 RUN 命令可以在镜像中安装指定的 Java 版本。 ```bash docker run -it --rm adoptopenjdk/openjdk11:latest /bin/bash -c "java --version" ``` 该命令将从 Docker 镜像中运行一个容器,并在其中执行一个 bash shell。通过使用 `--rm` 标志,容器将在完成后自动删除。 你也可以使用以下命令来获取帮助信息: ```bash docker run -it --rm adoptopenjdk/openjdk11:latest /bin/bash -c "java -h" ``` 该命令会为你提供关于 Java 命令的帮助信息。
源镜像 docker.io/adoptopenjdk/openjdk11:debian
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/adoptopenjdk/openjdk11:debian-linuxarm64
镜像ID sha256:0a736ac5c0e07ecdee6d4be71802d094c02b33615c187b440441dc913b90dc5a
镜像TAG debian-linuxarm64
大小 472.67MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD jshell
启动入口
工作目录
OS/平台 linux/arm64
浏览量 114 次
贡献者 in*o@starmetal.com.cn
镜像创建 2024-07-28T16:24:50.2251851Z
同步时间 2024-08-31 16:47
更新时间 2024-11-20 04:27
环境变量
PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 JAVA_VERSION=jdk-11.0.24+8 JAVA_HOME=/opt/java/openjdk

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/adoptopenjdk/openjdk11:debian-linuxarm64
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/adoptopenjdk/openjdk11:debian-linuxarm64  docker.io/adoptopenjdk/openjdk11:debian

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/adoptopenjdk/openjdk11:debian-linuxarm64
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/adoptopenjdk/openjdk11:debian-linuxarm64  docker.io/adoptopenjdk/openjdk11:debian

Shell快速替换命令

sed -i 's#adoptopenjdk/openjdk11:debian#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/adoptopenjdk/openjdk11:debian-linuxarm64#' deployment.yaml

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2024-07-29 00:24:50 CMD ["jshell"]
0.00B 2024-07-29 00:24:50 ENV JAVA_HOME=/opt/java/openjdk PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
321.50MB 2024-07-29 00:24:50 RUN /bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in aarch64|arm64) ESUM='04e21301fedc76841fb03929ac6cacfbbda30b5693acfd515a8f34d4a0cdeb28'; BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.24%2B8/OpenJDK11U-jdk_aarch64_linux_hotspot_11.0.24_8.tar.gz'; ;; armhf|armv7l) ESUM='9d14a076d1440161ab4c9736644e8e9f4719eb8e9f44c03470640960c3cd5e00'; BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.24%2B8/OpenJDK11U-jdk_arm_linux_hotspot_11.0.24_8.tar.gz'; ;; ppc64el|ppc64le) ESUM='4dfdc498938a159c592a2f094576f09c94999e17327c1f5ff81794694992054d'; BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.24%2B8/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.24_8.tar.gz'; ;; s390x) ESUM='7f049af5d3ff8794d07da1c31752e18e204653930f1d422e2d42905c90c1c408'; BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.24%2B8/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.24_8.tar.gz'; ;; amd64|x86_64) ESUM='0e71a01563a5c7b9988a168b0c4ce720a6dff966b3c27bb29d1ded461ff71d0e'; BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.24%2B8/OpenJDK11U-jdk_x64_linux_hotspot_11.0.24_8.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; curl -LfsSo /tmp/openjdk.tar.gz ${BINARY_URL}; echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; mkdir -p /opt/java/openjdk; cd /opt/java/openjdk; tar -xf /tmp/openjdk.tar.gz --strip-components=1; rm -rf /tmp/openjdk.tar.gz; # buildkit
0.00B 2024-07-29 00:24:44 ENV JAVA_VERSION=jdk-11.0.24+8
42.24MB 2024-07-29 00:24:44 RUN /bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl ca-certificates fontconfig locales && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && locale-gen en_US.UTF-8 && rm -rf /var/lib/apt/lists/* # buildkit
0.00B 2024-07-29 00:24:44 ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
0.00B 2024-06-13 08:40:13 /bin/sh -c #(nop) CMD ["bash"]
108.94MB 2024-06-13 08:40:13 /bin/sh -c #(nop) ADD file:fab836e338e4004f9cd2a02c2be38bf1bae832de12dd4fd657c94cbfb739e7f0 in /

镜像信息

{
    "Id": "sha256:0a736ac5c0e07ecdee6d4be71802d094c02b33615c187b440441dc913b90dc5a",
    "RepoTags": [
        "adoptopenjdk/openjdk11:debian",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/adoptopenjdk/openjdk11:debian-linuxarm64"
    ],
    "RepoDigests": [
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/adoptopenjdk/openjdk11@sha256:f4eabb0cb0fc2eb091e414234add57692ae546f3bbc5c1301852cc479d501efa"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-07-28T16:24:50.2251851Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "LANG=en_US.UTF-8",
            "LANGUAGE=en_US:en",
            "LC_ALL=en_US.UTF-8",
            "JAVA_VERSION=jdk-11.0.24+8",
            "JAVA_HOME=/opt/java/openjdk"
        ],
        "Cmd": [
            "jshell"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "arm64",
    "Variant": "v8",
    "Os": "linux",
    "Size": 472671061,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/7a29cf4e929bf45043a8837e03a73d2a51635351ac4713b23609117bce402070/diff:/var/lib/docker/overlay2/46a1a70fdcebdcac4e60ada1fb44021642d2074611b09e10da2b887a5226f94c/diff",
            "MergedDir": "/var/lib/docker/overlay2/fa73f3a235d88692395172d9b14a92a3a7fccd7e660c44f6357b3b9457de994a/merged",
            "UpperDir": "/var/lib/docker/overlay2/fa73f3a235d88692395172d9b14a92a3a7fccd7e660c44f6357b3b9457de994a/diff",
            "WorkDir": "/var/lib/docker/overlay2/fa73f3a235d88692395172d9b14a92a3a7fccd7e660c44f6357b3b9457de994a/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:70b9717deb5e384b19b578f898252fc52222b0be2d291b361ecc4ebd4ca2d65d",
            "sha256:b96e3a565528fa0c4497822d70c497dd308af7b362fd998b0ee944a52c2332bc",
            "sha256:dd94b0b3aaf2c5757827a1ef639a8533105cacd438c6dac95a82c1162dfcc3ba"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-08-31T16:46:52.547705215+08:00"
    }
}

更多版本

docker.io/adoptopenjdk/openjdk11:debian

linux/amd64 docker.io482.92MB2024-08-31 16:46
131

docker.io/adoptopenjdk/openjdk11:debian

linux/arm64 docker.io472.67MB2024-08-31 16:47
113