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

docker.io/clickhouse/clickhouse-server:23.4.2.11 - 国内下载镜像源 浏览次数:19
🚀 该镜像为 ClickHouse 的 Server 镜像,提供了一个功能齐全的 ClickHouse 服务器环境。.html>ClickHouse 是一种高性能的开源列式数据库管理系统,用于存储和分析大量数据。 该镜像包含了 ClickHouse Server、Zookeeper 和其他依赖项,可以用来快速部署和运行 ClickHouse 服务。
源镜像 docker.io/clickhouse/clickhouse-server:23.4.2.11
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/clickhouse/clickhouse-server:23.4.2.11
镜像ID sha256:4a7d9797409ee18ecef7aff53a378f2e69bd3580718d572bc4375351bedcbec6
镜像TAG 23.4.2.11
大小 927.95MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 /entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 19 次
贡献者
镜像创建 2023-05-04T11:13:30.970603489Z
同步时间 2024-12-24 10:10
更新时间 2024-12-27 12:10
开放端口
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/4863581207: build-url b6442320f9dc85d127bfaf84febe76e9294b2407: com.clickhouse.build.githash ubuntu: org.opencontainers.image.ref.name 22.04: org.opencontainers.image.version
镜像安全扫描 查看Trivy扫描报告

系统OS: ubuntu 22.04 扫描引擎: Trivy 扫描时间: 2024-12-24 10:10

低危漏洞:77 中危漏洞:81 高危漏洞:3 严重漏洞:0

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

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

Containerd拉取命令

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

Shell快速替换命令

sed -i 's#clickhouse/clickhouse-server:23.4.2.11#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/clickhouse/clickhouse-server:23.4.2.11#' 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.2.11 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/clickhouse/clickhouse-server:23.4.2.11  docker.io/clickhouse/clickhouse-server:23.4.2.11'

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.2.11 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/clickhouse/clickhouse-server:23.4.2.11  docker.io/clickhouse/clickhouse-server:23.4.2.11'

镜像构建历史


# 2023-05-04 19:13:30  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/entrypoint.sh"]
                        
# 2023-05-04 19:13:30  0.00B 设置环境变量 CLICKHOUSE_CONFIG
ENV CLICKHOUSE_CONFIG=/etc/clickhouse-server/config.xml
                        
# 2023-05-04 19:13:30  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/var/lib/clickhouse]
                        
# 2023-05-04 19:13:30  0.00B 声明容器运行时监听的端口
EXPOSE map[8123/tcp:{} 9000/tcp:{} 9009/tcp:{}]
                        
# 2023-05-04 19:13:30  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/b6442320f9dc85d127bfaf84febe76e9294b2407/package_release VERSION=23.4.2.11 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/23.4/b6442320f9dc85d127bfaf84febe76e9294b2407/package_release single_binary_location_url= TARGETARCH=amd64 /bin/sh -c chmod +x /entrypoint.sh # buildkit
                        
# 2023-05-04 19:13:30  7.82KB 复制新文件或目录到容器中
COPY entrypoint.sh /entrypoint.sh # buildkit
                        
# 2023-05-04 19:13:30  314.00B 复制新文件或目录到容器中
COPY docker_related_config.xml /etc/clickhouse-server/config.d/ # buildkit
                        
# 2023-05-04 19:13:30  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/b6442320f9dc85d127bfaf84febe76e9294b2407/package_release VERSION=23.4.2.11 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/23.4/b6442320f9dc85d127bfaf84febe76e9294b2407/package_release single_binary_location_url= TARGETARCH=amd64 /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
                        
# 2023-05-04 19:13:30  0.00B 设置环境变量 TZ
ENV TZ=UTC
                        
# 2023-05-04 19:13:30  0.00B 设置环境变量 LC_ALL
ENV LC_ALL=en_US.UTF-8
                        
# 2023-05-04 19:13:30  0.00B 设置环境变量 LANGUAGE
ENV LANGUAGE=en_US:en
                        
# 2023-05-04 19:13:30  0.00B 设置环境变量 LANG
ENV LANG=en_US.UTF-8
                        
# 2023-05-04 19:13:30  3.06MB 执行命令并创建新的镜像层
RUN |9 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/23.4/b6442320f9dc85d127bfaf84febe76e9294b2407/package_release VERSION=23.4.2.11 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/23.4/b6442320f9dc85d127bfaf84febe76e9294b2407/package_release single_binary_location_url= TARGETARCH=amd64 /bin/sh -c locale-gen en_US.UTF-8 # buildkit
                        
# 2023-05-04 19:13:28  463.14KB 执行命令并创建新的镜像层
RUN |9 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/23.4/b6442320f9dc85d127bfaf84febe76e9294b2407/package_release VERSION=23.4.2.11 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/23.4/b6442320f9dc85d127bfaf84febe76e9294b2407/package_release single_binary_location_url= TARGETARCH=amd64 /bin/sh -c apt-get autoremove --purge -yq libksba8 &&     apt-get autoremove -yq # buildkit
                        
# 2023-05-04 19:13:26  772.10MB 执行命令并创建新的镜像层
RUN |9 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/23.4/b6442320f9dc85d127bfaf84febe76e9294b2407/package_release VERSION=23.4.2.11 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/23.4/b6442320f9dc85d127bfaf84febe76e9294b2407/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 ;     elif [ -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" ;     else         mkdir -p /etc/apt/sources.list.d         && apt-key adv --keyserver keyserver.ubuntu.com --recv 8919F6BD2B48D754         && echo ${REPOSITORY} > /etc/apt/sources.list.d/clickhouse.list         && echo "installing from repository: ${REPOSITORY}"         && apt-get update         && apt-get --yes -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold" upgrade         && for package in ${PACKAGES}; do             packages="${packages} ${package}=${VERSION}"         ; done         && apt-get install --allow-unauthenticated --yes --no-install-recommends ${packages} || exit 1     ; fi     && clickhouse-local -q 'SELECT * FROM system.build_options'     && rm -rf         /var/lib/apt/lists/*         /var/cache/debconf         /tmp/*     && 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-05-04 18:17:05  0.00B 定义构建参数
ARG TARGETARCH
                        
# 2023-05-04 18:17:05  0.00B 定义构建参数
ARG single_binary_location_url=
                        
# 2023-05-04 18:17:05  0.00B 定义构建参数
ARG deb_location_url=
                        
# 2023-05-04 18:17:05  0.00B 定义构建参数
ARG PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static
                        
# 2023-05-04 18:17:05  0.00B 定义构建参数
ARG VERSION=23.3.2.37
                        
# 2023-05-04 18:17:05  0.00B 定义构建参数
ARG REPOSITORY=deb https://packages.clickhouse.com/deb stable main
                        
# 2023-05-04 18:17:05  0.00B 定义构建参数
ARG REPO_CHANNEL=stable
                        
# 2023-05-04 18:17:05  74.51MB 执行命令并创建新的镜像层
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         apt-transport-https         ca-certificates         dirmngr         gnupg2         wget         locales         tzdata     && apt-get clean # buildkit
                        
# 2023-05-04 18:17:05  0.00B 定义构建参数
ARG apt_archive=http://archive.ubuntu.com
                        
# 2023-05-04 18:17:05  0.00B 定义构建参数
ARG DEBIAN_FRONTEND=noninteractive
                        
# 2023-04-26 01:30:49  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2023-04-26 01:30:49  77.81MB 
/bin/sh -c #(nop) ADD file:2fc6364d149eccc7f94ead482a0dcf24b0e44cc0d00ac6a2c1797776153e9608 in / 
                        
# 2023-04-26 01:30:47  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=22.04
                        
# 2023-04-26 01:30:47  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2023-04-26 01:30:47  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2023-04-26 01:30:47  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:4a7d9797409ee18ecef7aff53a378f2e69bd3580718d572bc4375351bedcbec6",
    "RepoTags": [
        "clickhouse/clickhouse-server:23.4.2.11",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/clickhouse/clickhouse-server:23.4.2.11"
    ],
    "RepoDigests": [
        "clickhouse/clickhouse-server@sha256:dc5658853ce1cdbf575ee7fb1477e478ec6c720d0e6203630e57bf3b877d600b",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/clickhouse/clickhouse-server@sha256:c2fc5e3d2687f6bc89eb13a2fee54a03ea7fcb2df198bfb2c7783515fd7e7d4f"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2023-05-04T11:13:30.970603489Z",
    "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/4863581207",
            "com.clickhouse.build.githash": "b6442320f9dc85d127bfaf84febe76e9294b2407",
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.version": "22.04"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 927950761,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/9282fd57d4ff574b676ea36223d297b1b06d8548290da162e266db0078b1a906/diff:/var/lib/docker/overlay2/46376faa9ef92ae179cad4b81f505c811bad03d3b7640ff8882ff20b90893378/diff:/var/lib/docker/overlay2/c959aae362408f35ba40e49d5637d0ed8e0d4bbd56a8cd0b408f76eceae30eac/diff:/var/lib/docker/overlay2/3998b34041a7aa17666a691d9ff3918f8a5d41f64d6f876f67d551974d23a092/diff:/var/lib/docker/overlay2/2262c0a5a77aa3bed6e97d19ac76bd13fa2d85f9f355d126743e89e17d4daaa7/diff:/var/lib/docker/overlay2/ea66302d81df3594e418006c6949e72d9c67e3d5067d78077236fa74d564314b/diff:/var/lib/docker/overlay2/414433095fe630a117c69d2a6c36858b6481ac0985e579fb0ea01e7f7c3fd8ab/diff:/var/lib/docker/overlay2/e2cb9bd54e8efbd4663e5c2dcfb8cb95dbe869d9171578090b2181ac2df3f3b8/diff",
            "MergedDir": "/var/lib/docker/overlay2/797d6d27bf3429fae0e76a766dee66e95543b6d5b213bd8f9efd38cb2b609190/merged",
            "UpperDir": "/var/lib/docker/overlay2/797d6d27bf3429fae0e76a766dee66e95543b6d5b213bd8f9efd38cb2b609190/diff",
            "WorkDir": "/var/lib/docker/overlay2/797d6d27bf3429fae0e76a766dee66e95543b6d5b213bd8f9efd38cb2b609190/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:b8a36d10656ac19ddb96ef3107f76820663717708fc37ce929925c36d1b1d157",
            "sha256:8516b3c14cb298c2f7ff4cea8473e756769d02d86d4f5606ae0f55edbc9c9da4",
            "sha256:2b7b19edfa77e291bdbc43df250fbff3508b1923c6abe69a5fc109aaa01aec52",
            "sha256:0649acbf7c1f31f1a549fade6739b2b7895656807fbe4e5fc42ba524625a6fbe",
            "sha256:a6a3a83857e10ff41d7093c54454846040160481707e6060ca0f405c8a91d7d9",
            "sha256:d80822d17956a245f732f33fbe3a886437de63560fa06eab9563b5fdddf766bf",
            "sha256:9e6be902ad9eae084ab022c9adea52a448d8116f0257600f36fe5c7e543a1d1c",
            "sha256:fcb69c883270b88722d72d6fcbc21016cfbf1a78893660d19dcf38fa2f48c8a2",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-24T10:09:54.598119792+08:00"
    }
}

更多版本

docker.io/clickhouse/clickhouse-server:24.3.4.147

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

docker.io/clickhouse/clickhouse-server:24.6.2.17

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

docker.io/clickhouse/clickhouse-server:head

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

docker.io/clickhouse/clickhouse-server:23.4.1

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

docker.io/clickhouse/clickhouse-server:24.5.3.5

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

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

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

docker.io/clickhouse/clickhouse-server:21.8.13.6

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

docker.io/clickhouse/clickhouse-server:23.3.19.32

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

docker.io/clickhouse/clickhouse-server:23.8.9.54

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

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

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

docker.io/clickhouse/clickhouse-server:24.8.7.41

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

docker.io/clickhouse/clickhouse-server:22.6.6.16

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

docker.io/clickhouse/clickhouse-server:23.4.2.11

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