docker.io/zookeeper:3.8.0 linux/amd64

docker.io/zookeeper:3.8.0 - 国内下载镜像源 浏览次数:21
🐋 Docker Logo Apache ZooKeeper是一个开源的分布式配置和协调工具,用于管理分布式系统中的数据和服务。该镜像可以用来部署ZooKeeper集群。 .html/Zookeeper是一个Apache ZooKeeper镜像,适用于大规模分布式系统中的应用程序。
源镜像 docker.io/zookeeper:3.8.0
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zookeeper:3.8.0
镜像ID sha256:3fae259208786e0c7b31208bb86f0ccdf50ed064511db01f6191c9a7f15a702e
镜像TAG 3.8.0
大小 274.55MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD zkServer.sh start-foreground
启动入口 /docker-entrypoint.sh
工作目录 /apache-zookeeper-3.8.0-bin
OS/平台 linux/amd64
浏览量 21 次
贡献者
镜像创建 2022-08-03T07:31:46.587931718Z
同步时间 2024-11-13 17:40
更新时间 2024-11-20 17:39
开放端口
2181/tcp 2888/tcp 3888/tcp 8080/tcp
环境变量
PATH=/usr/local/openjdk-11/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/apache-zookeeper-3.8.0-bin/bin JAVA_HOME=/usr/local/openjdk-11 LANG=C.UTF-8 JAVA_VERSION=11.0.16 ZOO_CONF_DIR=/conf ZOO_DATA_DIR=/data ZOO_DATA_LOG_DIR=/datalog ZOO_LOG_DIR=/logs ZOO_TICK_TIME=2000 ZOO_INIT_LIMIT=5 ZOO_SYNC_LIMIT=2 ZOO_AUTOPURGE_PURGEINTERVAL=0 ZOO_AUTOPURGE_SNAPRETAINCOUNT=3 ZOO_MAX_CLIENT_CNXNS=60 ZOO_STANDALONE_ENABLED=true ZOO_ADMINSERVER_ENABLED=true ZOOCFGDIR=/conf
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 11.4 扫描引擎: Trivy 扫描时间: 2024-11-13 17:41

低危漏洞:106 中危漏洞:69 高危漏洞:76 严重漏洞:14

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zookeeper:3.8.0
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zookeeper:3.8.0  docker.io/zookeeper:3.8.0

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zookeeper:3.8.0
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zookeeper:3.8.0  docker.io/zookeeper:3.8.0

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2022-08-03 15:31:46 /bin/sh -c #(nop) CMD ["zkServer.sh" "start-foreground"]
0.00B 2022-08-03 15:31:46 /bin/sh -c #(nop) ENTRYPOINT ["/docker-entrypoint.sh"]
1.46KB 2022-08-03 15:31:46 /bin/sh -c #(nop) COPY file:15946498c7ecbfe405350ae22386ab548cb62ffb5e51b384938a3e1d87a02052 in /
0.00B 2022-08-03 15:31:46 /bin/sh -c #(nop) ENV PATH=/usr/local/openjdk-11/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/apache-zookeeper-3.8.0-bin/bin ZOOCFGDIR=/conf
0.00B 2022-08-03 15:31:46 /bin/sh -c #(nop) EXPOSE 2181 2888 3888 8080
0.00B 2022-08-03 15:31:46 /bin/sh -c #(nop) VOLUME [/data /datalog /logs]
0.00B 2022-08-03 15:31:45 /bin/sh -c #(nop) WORKDIR /apache-zookeeper-3.8.0-bin
37.70MB 2022-08-03 15:31:45 |3 DISTRO_NAME=apache-zookeeper-3.8.0-bin GPG_KEY=BBE7232D7991050B54C8EA0ADC08637CA615D22C SHORT_DISTRO_NAME=zookeeper-3.8.0 /bin/sh -c set -eux; ddist() { local f="$1"; shift; local distFile="$1"; shift; local success=; local distUrl=; for distUrl in 'https://www.apache.org/dyn/closer.cgi?action=download&filename=' https://www-us.apache.org/dist/ https://www.apache.org/dist/ https://archive.apache.org/dist/ ; do if wget -q -O "$f" "$distUrl$distFile" && [ -s "$f" ]; then success=1; break; fi; done; [ -n "$success" ]; }; ddist "$DISTRO_NAME.tar.gz" "zookeeper/$SHORT_DISTRO_NAME/$DISTRO_NAME.tar.gz"; ddist "$DISTRO_NAME.tar.gz.asc" "zookeeper/$SHORT_DISTRO_NAME/$DISTRO_NAME.tar.gz.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --keyserver hkps://keyserver.pgp.com --recv-key "$GPG_KEY" || gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys "$GPG_KEY" || gpg --keyserver hkps://pgp.mit.edu --recv-keys "$GPG_KEY"; gpg --batch --verify "$DISTRO_NAME.tar.gz.asc" "$DISTRO_NAME.tar.gz"; tar -zxf "$DISTRO_NAME.tar.gz"; mv "$DISTRO_NAME/conf/"* "$ZOO_CONF_DIR"; rm -rf "$GNUPGHOME" "$DISTRO_NAME.tar.gz" "$DISTRO_NAME.tar.gz.asc"; chown -R zookeeper:zookeeper "/$DISTRO_NAME"
0.00B 2022-08-03 15:31:39 /bin/sh -c #(nop) ARG DISTRO_NAME=apache-zookeeper-3.8.0-bin
0.00B 2022-08-03 15:31:39 /bin/sh -c #(nop) ARG SHORT_DISTRO_NAME=zookeeper-3.8.0
0.00B 2022-08-03 15:31:39 /bin/sh -c #(nop) ARG GPG_KEY=BBE7232D7991050B54C8EA0ADC08637CA615D22C
13.25MB 2022-08-03 15:31:20 /bin/sh -c set -eux; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates dirmngr gosu gnupg netcat wget; rm -rf /var/lib/apt/lists/*; gosu nobody true
328.91KB 2022-08-03 15:30:55 /bin/sh -c set -eux; groupadd -r zookeeper --gid=1000; useradd -r -g zookeeper --uid=1000 zookeeper; mkdir -p "$ZOO_DATA_LOG_DIR" "$ZOO_DATA_DIR" "$ZOO_CONF_DIR" "$ZOO_LOG_DIR"; chown zookeeper:zookeeper "$ZOO_DATA_LOG_DIR" "$ZOO_DATA_DIR" "$ZOO_CONF_DIR" "$ZOO_LOG_DIR"
0.00B 2022-08-03 15:30:55 /bin/sh -c #(nop) ENV ZOO_CONF_DIR=/conf ZOO_DATA_DIR=/data ZOO_DATA_LOG_DIR=/datalog ZOO_LOG_DIR=/logs ZOO_TICK_TIME=2000 ZOO_INIT_LIMIT=5 ZOO_SYNC_LIMIT=2 ZOO_AUTOPURGE_PURGEINTERVAL=0 ZOO_AUTOPURGE_SNAPRETAINCOUNT=3 ZOO_MAX_CLIENT_CNXNS=60 ZOO_STANDALONE_ENABLED=true ZOO_ADMINSERVER_ENABLED=true
138.00MB 2022-08-02 13:53:58 /bin/sh -c set -eux; arch="$(dpkg --print-architecture)"; case "$arch" in 'amd64') downloadUrl='https://github.com/AdoptOpenJDK/openjdk11-upstream-binaries/releases/download/jdk-11.0.16%2B8/OpenJDK11U-jre_x64_linux_11.0.16_8.tar.gz'; ;; 'arm64') downloadUrl='https://github.com/AdoptOpenJDK/openjdk11-upstream-binaries/releases/download/jdk-11.0.16%2B8/OpenJDK11U-jre_aarch64_linux_11.0.16_8.tar.gz'; ;; *) echo >&2 "error: unsupported architecture: '$arch'"; exit 1 ;; esac; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dirmngr gnupg wget ; rm -rf /var/lib/apt/lists/*; 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*; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; { 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; java --version
0.00B 2022-08-02 13:52:17 /bin/sh -c #(nop) ENV JAVA_VERSION=11.0.16
0.00B 2022-08-02 13:52:17 /bin/sh -c #(nop) ENV LANG=C.UTF-8
0.00B 2022-08-02 13:52:17 /bin/sh -c #(nop) ENV PATH=/usr/local/openjdk-11/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
27.00B 2022-08-02 13:52:17 /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:52:16 /bin/sh -c #(nop) ENV JAVA_HOME=/usr/local/openjdk-11
4.88MB 2022-08-02 13:48:05 /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates p11-kit ; rm -rf /var/lib/apt/lists/*
0.00B 2022-08-02 09:20:05 /bin/sh -c #(nop) CMD ["bash"]
80.39MB 2022-08-02 09:20:04 /bin/sh -c #(nop) ADD file:0eae0dca665c7044bf242cb1fc92cb8ea744f5af2dd376a558c90bc47349aefe in /

镜像信息

{
    "Id": "sha256:3fae259208786e0c7b31208bb86f0ccdf50ed064511db01f6191c9a7f15a702e",
    "RepoTags": [
        "zookeeper:3.8.0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zookeeper:3.8.0"
    ],
    "RepoDigests": [
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/zookeeper@sha256:a272e4296c7b67ed37132eae95f8bbf3d81d8573fe92b5f08a57305f8d114174"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2022-08-03T07:31:46.587931718Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.12",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "2181/tcp": {},
            "2888/tcp": {},
            "3888/tcp": {},
            "8080/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/openjdk-11/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/apache-zookeeper-3.8.0-bin/bin",
            "JAVA_HOME=/usr/local/openjdk-11",
            "LANG=C.UTF-8",
            "JAVA_VERSION=11.0.16",
            "ZOO_CONF_DIR=/conf",
            "ZOO_DATA_DIR=/data",
            "ZOO_DATA_LOG_DIR=/datalog",
            "ZOO_LOG_DIR=/logs",
            "ZOO_TICK_TIME=2000",
            "ZOO_INIT_LIMIT=5",
            "ZOO_SYNC_LIMIT=2",
            "ZOO_AUTOPURGE_PURGEINTERVAL=0",
            "ZOO_AUTOPURGE_SNAPRETAINCOUNT=3",
            "ZOO_MAX_CLIENT_CNXNS=60",
            "ZOO_STANDALONE_ENABLED=true",
            "ZOO_ADMINSERVER_ENABLED=true",
            "ZOOCFGDIR=/conf"
        ],
        "Cmd": [
            "zkServer.sh",
            "start-foreground"
        ],
        "Image": "sha256:b511e261e9c789aaa0b7318daa7337f7d326f029538e3f9817b057217f27e2ca",
        "Volumes": {
            "/data": {},
            "/datalog": {},
            "/logs": {}
        },
        "WorkingDir": "/apache-zookeeper-3.8.0-bin",
        "Entrypoint": [
            "/docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 274547865,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/9ef6dc731067776905ce83b8bc7ab288958dc1316807fc1e33ad35f57bcb3e89/diff:/var/lib/docker/overlay2/e37e0458dfbb41e03adb993666dfe75dd732b6816ef7c826e1012abf3f32cfa0/diff:/var/lib/docker/overlay2/fe32549eceec629728132e3a622d1891c3ddbe154ca488c42af4cb066dae0ef8/diff:/var/lib/docker/overlay2/fbc43f3c241be5b4daefd9ff551eb633473a57e0ad6934e1ccec42cddaf689e0/diff:/var/lib/docker/overlay2/3f6ad1b70e989e0d0ee48b4fb9e801ec62625807e5c5d19a0dbcde9c77a714f3/diff:/var/lib/docker/overlay2/9c71e9255f93b8db166af620ce1c6555d75ed5cbe12cfe711321c244665ba88a/diff:/var/lib/docker/overlay2/7ea06a880f35006476b5fe87975006641ae6094e7a3dae782a694ea632aba0f0/diff",
            "MergedDir": "/var/lib/docker/overlay2/1ec9024837b66e134343d6e0a3c899af50d8404d15da7737d8ec9204bf11d339/merged",
            "UpperDir": "/var/lib/docker/overlay2/1ec9024837b66e134343d6e0a3c899af50d8404d15da7737d8ec9204bf11d339/diff",
            "WorkDir": "/var/lib/docker/overlay2/1ec9024837b66e134343d6e0a3c899af50d8404d15da7737d8ec9204bf11d339/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:92a4e8a3140f7a04a0e5a15793adef2d0e8889ed306a8f95a6cfb67cecb5f212",
            "sha256:eafe6e032dbd1979848a323c4c84071be765d175661d6ea2ac148dbd673c6713",
            "sha256:e3abdc2e92525469b91b8616216f3ab94b40c98f99e9690fd8505725fd7e1bfe",
            "sha256:d7802b8508afcba9f87b128ab24e5e2706476a94b1d9610602fda64bf273a845",
            "sha256:a5b09ba76cd3e916f7e2d7e1674620d01e7cda4d402da8cc0d06fee323ebefd6",
            "sha256:cb933c7c21f4c76e3411037b1b127bdba835ffb8a96e0079296059ac30a449e2",
            "sha256:cedc7006ca07aefe9b78872039f005d6d17bc725825bf86531ce0b3de37c0188",
            "sha256:99d18d8f4163981f38d6e6afe15467ddb54a9490e4079e74e01c32c321d6bfca"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-13T17:40:05.557327331+08:00"
    }
}

更多版本

docker.io/zookeeper:3.7.1

linux/amd64 docker.io273.47MB2024-06-26 10:23
900

docker.io/zookeeper:3.8.4

linux/amd64 docker.io306.65MB2024-06-26 10:31
625

docker.io/zookeeper:3.6.3

linux/amd64 docker.io276.97MB2024-06-26 11:59
220

docker.io/zookeeper:3.6.4

linux/amd64 docker.io298.64MB2024-09-24 11:40
87

docker.io/zookeeper:3.8.0

linux/arm64 docker.io266.67MB2024-10-26 19:10
74

docker.io/zookeeper:3.4

linux/amd64 docker.io259.67MB2024-11-03 16:06
48

docker.io/zookeeper:3.9.3-jre-17

linux/amd64 docker.io313.15MB2024-11-04 14:19
52

docker.io/zookeeper:3.9.3

linux/arm64 docker.io304.86MB2024-11-05 16:09
48

docker.io/zookeeper:3.4.14

linux/amd64 docker.io259.67MB2024-11-07 11:48
37

docker.io/zookeeper:3.9

linux/arm64 docker.io304.86MB2024-11-08 11:14
28

docker.io/zookeeper:3.8.4

linux/arm64 docker.io297.73MB2024-11-08 15:31
29

docker.io/zookeeper:3.9.1-jre-11

linux/arm64 docker.io301.01MB2024-11-08 16:19
26

docker.io/zookeeper:3.8.0

linux/amd64 docker.io274.55MB2024-11-13 17:40
20

docker.io/zookeeper:latest

linux/amd64 docker.io313.15MB2024-11-15 10:19
38