镜像构建历史
# 2025-12-18 02:29:53 0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/entrypoint.sh"]
# 2025-12-18 02:29:53 0.00B 设置环境变量 CLICKHOUSE_GID
ENV CLICKHOUSE_GID=nobody
# 2025-12-18 02:29:53 0.00B 设置环境变量 CLICKHOUSE_UID
ENV CLICKHOUSE_UID=nobody
# 2025-12-18 02:29:53 0.00B 设置环境变量 CLICKHOUSE_CONFIG
ENV CLICKHOUSE_CONFIG=/etc/clickhouse-server/config.xml
# 2025-12-18 02:29:53 0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/var/lib/clickhouse]
# 2025-12-18 02:29:53 0.00B 声明容器运行时监听的端口
EXPOSE [8123/tcp 9000/tcp 9009/tcp]
# 2025-12-18 02:29:53 0.00B 指定运行容器时使用的用户
USER 65534:65534
# 2025-12-18 02:29:53 108.32KB 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir /var/lib/clickhouse /var/log/clickhouse-server /docker-entrypoint-initdb.d && chown -R nobody:nobody /etc/clickhouse-* /var/lib/clickhouse /var/log/clickhouse-server /docker-entrypoint-initdb.d # buildkit
# 2025-12-18 02:29:53 57.00B 执行命令并创建新的镜像层
RUN /bin/sh -c ln -s /usr/bin/clickhouse /usr/bin/clickhouse-server && ln -s /usr/bin/clickhouse /usr/bin/clickhouse-keeper && ln -s /usr/bin/clickhouse /usr/bin/clickhouse-client # buildkit
# 2025-12-18 02:29:53 11.35KB 复制新文件或目录到容器中
COPY /entrypoint.sh /entrypoint.sh # buildkit
# 2025-12-18 02:29:53 703.86MB 复制新文件或目录到容器中
COPY /usr/bin/clickhouse /usr/bin/clickhouse # buildkit
# 2025-12-18 02:29:49 4.88KB 复制新文件或目录到容器中
COPY /etc/clickhouse-client /etc/clickhouse-client # buildkit
# 2025-12-18 02:29:49 3.58KB 复制新文件或目录到容器中
COPY /etc/clickhouse-keeper /etc/clickhouse-keeper # buildkit
# 2025-12-18 02:29:49 99.86KB 复制新文件或目录到容器中
COPY /etc/clickhouse-server /etc/clickhouse-server # buildkit
# 2025-12-18 02:29:49 11.39KB 复制新文件或目录到容器中
COPY LICENSE /licenses/LICENSE # buildkit
# 2025-12-18 02:29:49 0.00B 添加元数据标签
LABEL name=clickhouse vendor=Coroot, Inc. maintainer=Coroot, Inc. version=25.11.2 release=1 summary=ClickHouse description=ClickHouse UBI-based image.
# 2025-12-04 04:39:54 210.92MB
/bin/sh -c #(nop) LABEL "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="6ab6aed6d7cb84504700f3d038e41e8b4b3c3116" "org.opencontainers.image.revision"="6ab6aed6d7cb84504700f3d038e41e8b4b3c3116" "build-date"="2025-12-03T20:39:28Z" "org.opencontainers.image.created"="2025-12-03T20:39:28Z" "release"="1764794285"org.opencontainers.image.revision=6ab6aed6d7cb84504700f3d038e41e8b4b3c3116,org.opencontainers.image.created=2025-12-03T20:39:28Z
# 2025-12-04 04:39:54 0.00B
/bin/sh -c #(nop) COPY file:3510fe100acabb01d1f82e20899ef080183d1fa839353ecc75b35a4f9f617700 in /root/buildinfo/labels.json
# 2025-12-04 04:39:53 0.00B
/bin/sh -c #(nop) COPY file:3510fe100acabb01d1f82e20899ef080183d1fa839353ecc75b35a4f9f617700 in /usr/share/buildinfo/labels.json
# 2025-12-04 04:39:53 0.00B
/bin/sh -c #(nop) COPY file:93583a9ebbaeff1e36b48820b647eea1eef523f6627dacfb0b21af79f5a41b35 in /root/buildinfo/content_manifests/content-sets.json
# 2025-12-04 04:39:53 0.00B
/bin/sh -c #(nop) COPY file:93583a9ebbaeff1e36b48820b647eea1eef523f6627dacfb0b21af79f5a41b35 in /usr/share/buildinfo/content-sets.json
# 2025-12-04 04:39:53 0.00B
/bin/sh -c #(nop) CMD ["/bin/bash"]
# 2025-12-04 04:39:53 0.00B
/bin/sh -c #(nop) COPY file:1376702515d596f414e3aa494e0daa6d408a6d2475c4aeca96bf9392f5287f69 in /etc/yum.repos.d/.
# 2025-12-04 04:39:53 0.00B
/bin/sh -c #(nop) COPY dir:e028f696326f03cd7252c4c349f445b8770570e8560a604b425cd138de4f6500 in /
# 2025-12-04 04:39:51 0.00B
/bin/sh -c #(nop) ENV container oci
# 2025-12-04 04:39:51 0.00B
/bin/sh -c #(nop) LABEL io.openshift.tags="base rhel9"
# 2025-12-04 04:39:51 0.00B
/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
# 2025-12-04 04:39:51 0.00B
/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 9"
# 2025-12-04 04:39:51 0.00B
/bin/sh -c #(nop) LABEL io.k8s.description="The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly."
# 2025-12-04 04:39:51 0.00B
/bin/sh -c #(nop) LABEL description="The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly."
# 2025-12-04 04:39:51 0.00B
/bin/sh -c #(nop) LABEL summary="Provides the latest release of Red Hat Universal Base Image 9."
# 2025-12-04 04:39:51 0.00B
/bin/sh -c #(nop) LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
# 2025-12-04 04:39:51 0.00B
/bin/sh -c #(nop) LABEL com.redhat.component="ubi9-container" name="ubi9/ubi" version="9.7" cpe="cpe:/a:redhat:enterprise_linux:9::appstream" distribution-scope="public"
# 2025-12-04 04:39:51 0.00B
/bin/sh -c #(nop) LABEL url="https://catalog.redhat.com/en/search?searchType=containers"
# 2025-12-04 04:39:51 0.00B
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc." vendor="Red Hat, Inc."
镜像信息
{
"Id": "sha256:2b2098e8445041547f25d55b685b06cb2cbf455b9454e80443c29de40f01584b",
"RepoTags": [
"ghcr.io/coroot/clickhouse:25.11.2-ubi9-0",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/coroot/clickhouse:25.11.2-ubi9-0"
],
"RepoDigests": [
"ghcr.io/coroot/clickhouse@sha256:8c73c5d8ab9dc3a4566b757e6ca4dd8d83058840e6b7efffe0191d6e8dbffce9",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/coroot/clickhouse@sha256:d04785dc9b8e4e01e79a27cf05fcfe1170c2813fe8b36751dd8e7aef5751eb3a"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2025-12-17T18:29:53.249346784Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "65534:65534",
"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",
"container=oci",
"CLICKHOUSE_CONFIG=/etc/clickhouse-server/config.xml",
"CLICKHOUSE_UID=nobody",
"CLICKHOUSE_GID=nobody"
],
"Cmd": null,
"Image": "",
"Volumes": {
"/var/lib/clickhouse": {}
},
"WorkingDir": "/",
"Entrypoint": [
"/entrypoint.sh"
],
"OnBuild": null,
"Labels": {
"architecture": "x86_64",
"build-date": "2025-12-03T20:39:28Z",
"com.redhat.component": "ubi9-container",
"com.redhat.license_terms": "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI",
"cpe": "cpe:/a:redhat:enterprise_linux:9::appstream",
"description": "ClickHouse UBI-based image.",
"distribution-scope": "public",
"io.buildah.version": "1.41.4",
"io.k8s.description": "The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.",
"io.k8s.display-name": "Red Hat Universal Base Image 9",
"io.openshift.expose-services": "",
"io.openshift.tags": "base rhel9",
"maintainer": "Coroot, Inc.",
"name": "clickhouse",
"org.opencontainers.image.created": "2025-12-03T20:39:28Z",
"org.opencontainers.image.revision": "6ab6aed6d7cb84504700f3d038e41e8b4b3c3116",
"release": "1",
"summary": "ClickHouse",
"url": "https://catalog.redhat.com/en/search?searchType=containers",
"vcs-ref": "6ab6aed6d7cb84504700f3d038e41e8b4b3c3116",
"vcs-type": "git",
"vendor": "Coroot, Inc.",
"version": "25.11.2"
}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 915025843,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/193917be9a32454cdc3c61c2649046ec2be1867b08ded8bd7d634141b8716401/diff:/var/lib/docker/overlay2/163cac858cdaccb61b1145bdc065f92770de3b4c27ce1eeb6a82839c457057c5/diff:/var/lib/docker/overlay2/40d7b8872ec347ec5e1df0479612b7e50d61fb93e10ca2890396f843dc563cb9/diff:/var/lib/docker/overlay2/15214157e1ce77324adfafbc7d210cb3b3f518b1a8f8afde9e12c443ac405971/diff:/var/lib/docker/overlay2/41a371aa51e1090719a966dccb3ef93f5c3794afcbf8dae4f93cea002f565dfc/diff:/var/lib/docker/overlay2/b6e42c8b8a3179417dd13885b1dbdc23a8a66b8aa15fb9aa5e3850fc767148f2/diff:/var/lib/docker/overlay2/b3d3dceda7132a0ea8965605dfeeb1a609e85ec5af4318157e89d818423cb6e6/diff:/var/lib/docker/overlay2/f6e50b48a2d7f1150f08d3ebc842f256cc97fda5ff3deab8923cbfd7032c4723/diff",
"MergedDir": "/var/lib/docker/overlay2/2838487ecaa9a08b854d1482809b0c2e6a0bb3590390d55ef879d1e03f60654c/merged",
"UpperDir": "/var/lib/docker/overlay2/2838487ecaa9a08b854d1482809b0c2e6a0bb3590390d55ef879d1e03f60654c/diff",
"WorkDir": "/var/lib/docker/overlay2/2838487ecaa9a08b854d1482809b0c2e6a0bb3590390d55ef879d1e03f60654c/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:3edf51731cfdb7d8d7ed2f8876a22eccbcf74007f9b481ba4a5765b4a8c8568f",
"sha256:c804fb930c8febf06e067707b5d14a88ccd6c0e48d70bfca36d218c0f528c9c6",
"sha256:6e4092b0163085cd4f855a1ce950cec4ecac1f921be485e20810b16ec1e60e62",
"sha256:74d3dee4830ee56396c7b91f42935a2653a0bd09bc773a753d18704fdd9cf4cd",
"sha256:6a7158d293f05610031293f1189e83fe8b3e0a1221b6ba174ba3a7f5ad3c39d0",
"sha256:5feaed508dd45c5f0d13cff2664e615985197e3942d01eb287a32bd46aaf96b4",
"sha256:18d13bdef36ad273442aa22c0fe4882e5c4aba04ff4e225fc56f615eaa2a01ae",
"sha256:33f0e7313d7b9a7382ff1528ee7b30bc2518617da9642cd0235358e0aaf2843b",
"sha256:783e9a2c082a7af75682c39fd6f376dccdbd4970b6f3ecfca5a3f3194c56fdc8"
]
},
"Metadata": {
"LastTagTime": "2026-03-20T10:58:38.495917909+08:00"
}
}