docker.io/clickhouse/clickhouse-server:23.4 linux/amd64

docker.io/clickhouse/clickhouse-server:23.4 - 国内下载镜像源 浏览次数:29
🚀 该镜像为 ClickHouse 的 Server 镜像,提供了一个功能齐全的 ClickHouse 服务器环境。.html>ClickHouse 是一种高性能的开源列式数据库管理系统,用于存储和分析大量数据。 该镜像包含了 ClickHouse Server、Zookeeper 和其他依赖项,可以用来快速部署和运行 ClickHouse 服务。
源镜像 docker.io/clickhouse/clickhouse-server:23.4
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/clickhouse/clickhouse-server:23.4
镜像ID sha256:00ff4aef639422b4705aa156a74d092b8c7e762f0dd10a58415903d0ec9c4426
镜像TAG 23.4
大小 874.11MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 /entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 29 次
贡献者
镜像创建 2023-07-12T12:23:27.318210868Z
同步时间 2025-01-06 13:12
更新时间 2025-01-17 22:08
开放端口
8123/tcp 9000/tcp 9009/tcp
环境变量
PATH=/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 TZ=UTC CLICKHOUSE_CONFIG=/etc/clickhouse-server/config.xml
镜像标签
https://github.com/ClickHouse/ClickHouse/actions/runs/5531495851: build-url a06848b17707538e31013bfd795809a37b096a8a: com.clickhouse.build.githash ubuntu: org.opencontainers.image.ref.name 20.04: org.opencontainers.image.version
镜像安全扫描 查看Trivy扫描报告

系统OS: ubuntu 20.04 扫描引擎: Trivy 扫描时间: 2025-01-06 13:12

低危漏洞:50 中危漏洞:43 高危漏洞:0 严重漏洞:0

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/clickhouse/clickhouse-server:23.4
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/clickhouse/clickhouse-server:23.4  docker.io/clickhouse/clickhouse-server:23.4

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/clickhouse/clickhouse-server:23.4
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/clickhouse/clickhouse-server:23.4  docker.io/clickhouse/clickhouse-server:23.4

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2023-07-12 20:23:27  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/entrypoint.sh"]
                        
# 2023-07-12 20:23:27  0.00B 设置环境变量 CLICKHOUSE_CONFIG
ENV CLICKHOUSE_CONFIG=/etc/clickhouse-server/config.xml
                        
# 2023-07-12 20:23:27  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/var/lib/clickhouse]
                        
# 2023-07-12 20:23:27  0.00B 声明容器运行时监听的端口
EXPOSE map[8123/tcp:{} 9000/tcp:{} 9009/tcp:{}]
                        
# 2023-07-12 20:23:27  0.00B 执行命令并创建新的镜像层
RUN |9 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/23.4/a06848b17707538e31013bfd795809a37b096a8a/package_release VERSION=23.4.6.25 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/23.4/a06848b17707538e31013bfd795809a37b096a8a/package_release single_binary_location_url= TARGETARCH=amd64 /bin/sh -c chmod +x /entrypoint.sh # buildkit
                        
# 2023-07-12 20:23:27  7.82KB 复制新文件或目录到容器中
COPY entrypoint.sh /entrypoint.sh # buildkit
                        
# 2023-07-12 20:23:27  314.00B 复制新文件或目录到容器中
COPY docker_related_config.xml /etc/clickhouse-server/config.d/ # buildkit
                        
# 2023-07-12 20:23:27  0.00B 执行命令并创建新的镜像层
RUN |9 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/23.4/a06848b17707538e31013bfd795809a37b096a8a/package_release VERSION=23.4.6.25 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/23.4/a06848b17707538e31013bfd795809a37b096a8a/package_release single_binary_location_url= TARGETARCH=amd64 /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
                        
# 2023-07-12 20:23:27  0.00B 设置环境变量 TZ
ENV TZ=UTC
                        
# 2023-07-12 20:23:27  0.00B 设置环境变量 LC_ALL
ENV LC_ALL=en_US.UTF-8
                        
# 2023-07-12 20:23:27  0.00B 设置环境变量 LANGUAGE
ENV LANGUAGE=en_US:en
                        
# 2023-07-12 20:23:27  0.00B 设置环境变量 LANG
ENV LANG=en_US.UTF-8
                        
# 2023-07-12 20:23:27  3.05MB 执行命令并创建新的镜像层
RUN |9 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/23.4/a06848b17707538e31013bfd795809a37b096a8a/package_release VERSION=23.4.6.25 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/23.4/a06848b17707538e31013bfd795809a37b096a8a/package_release single_binary_location_url= TARGETARCH=amd64 /bin/sh -c locale-gen en_US.UTF-8 # buildkit
                        
# 2023-07-12 20:23:24  82.54KB 执行命令并创建新的镜像层
RUN |9 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/23.4/a06848b17707538e31013bfd795809a37b096a8a/package_release VERSION=23.4.6.25 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/23.4/a06848b17707538e31013bfd795809a37b096a8a/package_release single_binary_location_url= TARGETARCH=amd64 /bin/sh -c clickhouse-local -q 'SELECT * FROM system.build_options'     && mkdir -p /var/lib/clickhouse /var/log/clickhouse-server /etc/clickhouse-server /etc/clickhouse-client     && chmod ugo+Xrw -R /var/lib/clickhouse /var/log/clickhouse-server /etc/clickhouse-server /etc/clickhouse-client # buildkit
                        
# 2023-07-12 20:23:24  0.00B 执行命令并创建新的镜像层
RUN |9 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/23.4/a06848b17707538e31013bfd795809a37b096a8a/package_release VERSION=23.4.6.25 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/23.4/a06848b17707538e31013bfd795809a37b096a8a/package_release single_binary_location_url= TARGETARCH=amd64 /bin/sh -c if ! clickhouse local -q "SELECT ''" > /dev/null 2>&1; then         apt-get update         && apt-get install --yes --no-install-recommends             apt-transport-https             ca-certificates             dirmngr             gnupg2         && mkdir -p /etc/apt/sources.list.d         && GNUPGHOME=$(mktemp -d)         && GNUPGHOME="$GNUPGHOME" gpg --no-default-keyring             --keyring /usr/share/keyrings/clickhouse-keyring.gpg             --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 8919F6BD2B48D754         && rm -r "$GNUPGHOME"         && chmod +r /usr/share/keyrings/clickhouse-keyring.gpg         && echo "${REPOSITORY}" > /etc/apt/sources.list.d/clickhouse.list         && echo "installing from repository: ${REPOSITORY}"         && apt-get update         && for package in ${PACKAGES}; do             packages="${packages} ${package}=${VERSION}"         ; done         && apt-get install --allow-unauthenticated --yes --no-install-recommends ${packages} || exit 1         && rm -rf             /var/lib/apt/lists/*             /var/cache/debconf             /tmp/*         && apt-get autoremove --purge -yq libksba8         && apt-get autoremove -yq     ; fi # buildkit
                        
# 2023-07-12 20:23:24  0.00B 执行命令并创建新的镜像层
RUN |9 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/23.4/a06848b17707538e31013bfd795809a37b096a8a/package_release VERSION=23.4.6.25 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/23.4/a06848b17707538e31013bfd795809a37b096a8a/package_release single_binary_location_url= TARGETARCH=amd64 /bin/sh -c if [ -n "${single_binary_location_url}" ]; then         echo "installing from single binary url: ${single_binary_location_url}"         && rm -rf /tmp/clickhouse_binary         && mkdir -p /tmp/clickhouse_binary         && wget --progress=bar:force:noscroll "${single_binary_location_url}" -O /tmp/clickhouse_binary/clickhouse         && chmod +x /tmp/clickhouse_binary/clickhouse         && /tmp/clickhouse_binary/clickhouse install --user "clickhouse" --group "clickhouse"         && rm -rf /tmp/* ;     fi # buildkit
                        
# 2023-07-12 20:23:24  772.94MB 执行命令并创建新的镜像层
RUN |9 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/23.4/a06848b17707538e31013bfd795809a37b096a8a/package_release VERSION=23.4.6.25 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/23.4/a06848b17707538e31013bfd795809a37b096a8a/package_release single_binary_location_url= TARGETARCH=amd64 /bin/sh -c arch="${TARGETARCH:-amd64}"     && if [ -n "${deb_location_url}" ]; then         echo "installing from custom url with deb packages: ${deb_location_url}"         && rm -rf /tmp/clickhouse_debs         && mkdir -p /tmp/clickhouse_debs         && for package in ${PACKAGES}; do             { wget --progress=bar:force:noscroll "${deb_location_url}/${package}_${VERSION}_${arch}.deb" -P /tmp/clickhouse_debs ||                 wget --progress=bar:force:noscroll "${deb_location_url}/${package}_${VERSION}_all.deb" -P /tmp/clickhouse_debs ; }             || exit 1         ; done         && dpkg -i /tmp/clickhouse_debs/*.deb         && rm -rf /tmp/* ;     fi # buildkit
                        
# 2023-07-12 20:23:01  0.00B 定义构建参数
ARG TARGETARCH
                        
# 2023-07-12 20:23:01  0.00B 定义构建参数
ARG single_binary_location_url=
                        
# 2023-07-12 20:23:01  0.00B 定义构建参数
ARG deb_location_url=
                        
# 2023-07-12 20:23:01  0.00B 定义构建参数
ARG PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static
                        
# 2023-07-12 20:23:01  0.00B 定义构建参数
ARG VERSION=23.3.2.37
                        
# 2023-07-12 20:23:01  0.00B 定义构建参数
ARG REPOSITORY=deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg] https://packages.clickhouse.com/deb stable main
                        
# 2023-07-12 20:23:01  0.00B 定义构建参数
ARG REPO_CHANNEL=stable
                        
# 2023-07-12 20:23:01  25.25MB 执行命令并创建新的镜像层
RUN |2 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com /bin/sh -c sed -i "s|http://archive.ubuntu.com|${apt_archive}|g" /etc/apt/sources.list     && groupadd -r clickhouse --gid=101     && useradd -r -g clickhouse --uid=101 --home-dir=/var/lib/clickhouse --shell=/bin/bash clickhouse     && apt-get update     && apt-get upgrade -yq     && apt-get install --yes --no-install-recommends         ca-certificates         locales         tzdata         wget     && apt-get clean     && rm -rf         /var/lib/apt/lists/*         /var/cache/debconf         /tmp/* # buildkit
                        
# 2023-07-12 20:23:01  0.00B 定义构建参数
ARG apt_archive=http://archive.ubuntu.com
                        
# 2023-07-12 20:23:01  0.00B 定义构建参数
ARG DEBIAN_FRONTEND=noninteractive
                        
# 2023-06-28 17:59:10  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2023-06-28 17:59:10  72.79MB 
/bin/sh -c #(nop) ADD file:12f97b7b044d0d1166dd59408c67f5610a764127aa8a01bc57db23bee48911af in / 
                        
# 2023-06-28 17:59:08  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=20.04
                        
# 2023-06-28 17:59:08  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2023-06-28 17:59:08  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2023-06-28 17:59:08  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:00ff4aef639422b4705aa156a74d092b8c7e762f0dd10a58415903d0ec9c4426",
    "RepoTags": [
        "clickhouse/clickhouse-server:23.4",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/clickhouse/clickhouse-server:23.4"
    ],
    "RepoDigests": [
        "clickhouse/clickhouse-server@sha256:3ced12e374ff44e29d12c12ac80942ff2517630324b721561e8ee97e7522b719",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/clickhouse/clickhouse-server@sha256:6e944a0a7cd8a8e8d929ed4e4c5eb2be8ce4915122d480056fbc903b6a2fd3fb"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2023-07-12T12:23:27.318210868Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "8123/tcp": {},
            "9000/tcp": {},
            "9009/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/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",
            "TZ=UTC",
            "CLICKHOUSE_CONFIG=/etc/clickhouse-server/config.xml"
        ],
        "Cmd": null,
        "Image": "",
        "Volumes": {
            "/var/lib/clickhouse": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "/entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "build-url": "https://github.com/ClickHouse/ClickHouse/actions/runs/5531495851",
            "com.clickhouse.build.githash": "a06848b17707538e31013bfd795809a37b096a8a",
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.version": "20.04"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 874109124,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/ba732b258ce4de07895ec7cd04ac307197a0e36ee945ec1f126fa43e5041fce1/diff:/var/lib/docker/overlay2/7fb76b9ef1279bd299d01701d00bf9227d3ccd98d54e68f9074475e33acd4d86/diff:/var/lib/docker/overlay2/ce4f46613e65ee320a02aeddcb14da88793ec58073c79973b6cad7e71c278483/diff:/var/lib/docker/overlay2/9d53aea14beb714e93b96b6248403b4b7262951567176b245fe311a85035fdf1/diff:/var/lib/docker/overlay2/5ecfb29f213f5e5755ae10adfbe51567f1e2da19bc706d7ccda8f70691b40f41/diff:/var/lib/docker/overlay2/55c41284a2abb3d2a989eeae9d1d920a3fbed93b1c5823cd9677c3740e911dc3/diff:/var/lib/docker/overlay2/399e0e00f5f930103aa8768b2a4fe545714dd2fa2142091a511998df0feef6cc/diff:/var/lib/docker/overlay2/6d0c1c5600293e1231623670f54ea3e4303c469e0bc97f9449b9b23f6fe4b903/diff:/var/lib/docker/overlay2/37540fb60f7f8d802b671dfa5e093d77346feec99f45b61d308cb764278a2868/diff:/var/lib/docker/overlay2/2a785fc2d09f0b1d06f0fcc2b763a31f811a86ff84bae07e480b276bcc894bfd/diff",
            "MergedDir": "/var/lib/docker/overlay2/b65238d603f9f53ea55042aa4d794003daf5507d1dc679a9139a3c032514e29e/merged",
            "UpperDir": "/var/lib/docker/overlay2/b65238d603f9f53ea55042aa4d794003daf5507d1dc679a9139a3c032514e29e/diff",
            "WorkDir": "/var/lib/docker/overlay2/b65238d603f9f53ea55042aa4d794003daf5507d1dc679a9139a3c032514e29e/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:f5bb4f853c84f6579d86f72de5f1d43fc8866443d9a027e2106e3755acefd61c",
            "sha256:6294ca91d595f49735739df8844f7b1851aab6c2ceee8a8248a2b078d950394d",
            "sha256:0643ce88864a21896b529f2cf6e3da547fe41cbc8817d7ea2ca97d389cf5105b",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:38f84e891c5ddeac99be2d879a59ee2cae188e26b44c7fd530baf1ea7cc0ffd5",
            "sha256:f8eb9cc02ef835d53617d06f614456d9ddebec707504237efdd9f85cbce7c7f8",
            "sha256:d4219dc0ae4fc1a7fa7d707492dc40657769c7593f962991cc68a4038d3a4de4",
            "sha256:4d9d1119b6b46a50dcda1bf9da28abc1d8791de2d528d761e16fb30daedb80c8",
            "sha256:f68a4f0251f84c4a3aabfc7cbdd38554398f9124562affb85cec38e75d0f1758",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-06T13:11:24.047108174+08:00"
    }
}

更多版本

docker.io/clickhouse/clickhouse-server:24.3.4.147

linux/amd64 docker.io945.70MB2024-06-20 09:13
318

docker.io/clickhouse/clickhouse-server:24.6.2.17

linux/amd64 docker.io615.01MB2024-07-17 14:51
238

docker.io/clickhouse/clickhouse-server:head

linux/amd64 docker.io617.47MB2024-07-17 14:53
260

docker.io/clickhouse/clickhouse-server:23.4.1

linux/amd64 docker.io938.21MB2024-09-13 19:05
149

docker.io/clickhouse/clickhouse-server:24.5.3.5

linux/amd64 docker.io600.13MB2024-09-19 13:08
190

docker.io/clickhouse/clickhouse-server:23.11-alpine

linux/amd64 docker.io910.10MB2024-09-26 14:10
186

docker.io/clickhouse/clickhouse-server:21.8.13.6

linux/amd64 docker.io704.26MB2024-10-21 15:28
188

docker.io/clickhouse/clickhouse-server:23.3.19.32

linux/amd64 docker.io862.71MB2024-11-08 15:21
76

docker.io/clickhouse/clickhouse-server:23.8.9.54

linux/amd64 docker.io1.01GB2024-11-25 16:18
64

docker.io/clickhouse/clickhouse-server:22.8.14.53-alpine

linux/amd64 docker.io768.70MB2024-11-29 15:58
65

docker.io/clickhouse/clickhouse-server:24.8.7.41

linux/amd64 docker.io612.08MB2024-12-12 11:11
68

docker.io/clickhouse/clickhouse-server:22.6.6.16

linux/amd64 docker.io942.76MB2024-12-24 10:06
44

docker.io/clickhouse/clickhouse-server:23.4.2.11

linux/amd64 docker.io927.95MB2024-12-24 10:10
37

docker.io/clickhouse/clickhouse-server:23.4

linux/amd64 docker.io874.11MB2025-01-06 13:12
28

docker.io/clickhouse/clickhouse-server:head

linux/arm64 docker.io621.13MB2025-01-07 20:53
32

docker.io/clickhouse/clickhouse-server:24.12

linux/arm64 docker.io612.74MB2025-01-07 21:03
39

docker.io/clickhouse/clickhouse-server:23.10

linux/arm64 docker.io1.05GB2025-01-07 21:52
39

docker.io/clickhouse/clickhouse-server:21.11.5

linux/amd64 docker.io754.84MB2025-01-13 18:47
34

docker.io/clickhouse/clickhouse-server:23.8.16.16

linux/amd64 docker.io1.01GB2025-01-16 23:50
13