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

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

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

低危漏洞:95 中危漏洞:135 高危漏洞:3 严重漏洞:0

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2022-08-24 03:15:09  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/entrypoint.sh"]
                        
# 2022-08-24 03:15:09  0.00B 设置环境变量 CLICKHOUSE_CONFIG
ENV CLICKHOUSE_CONFIG=/etc/clickhouse-server/config.xml
                        
# 2022-08-24 03:15:09  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/var/lib/clickhouse]
                        
# 2022-08-24 03:15:09  0.00B 声明容器运行时监听的端口
EXPOSE map[8123/tcp:{} 9000/tcp:{} 9009/tcp:{}]
                        
# 2022-08-24 03:15:09  0.00B 执行命令并创建新的镜像层
RUN |9 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/22.6/d2a33ebc82231bf42f84921561e55b457b573213/package_release VERSION=22.6.6.16 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/22.6/d2a33ebc82231bf42f84921561e55b457b573213/package_release single_binary_location_url= TARGETARCH=amd64 /bin/sh -c chmod +x /entrypoint.sh # buildkit
                        
# 2022-08-24 03:15:09  5.92KB 复制新文件或目录到容器中
COPY entrypoint.sh /entrypoint.sh # buildkit
                        
# 2022-08-24 03:15:09  314.00B 复制新文件或目录到容器中
COPY docker_related_config.xml /etc/clickhouse-server/config.d/ # buildkit
                        
# 2022-08-24 03:15:09  0.00B 执行命令并创建新的镜像层
RUN |9 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/22.6/d2a33ebc82231bf42f84921561e55b457b573213/package_release VERSION=22.6.6.16 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/22.6/d2a33ebc82231bf42f84921561e55b457b573213/package_release single_binary_location_url= TARGETARCH=amd64 /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
                        
# 2022-08-24 03:15:09  0.00B 设置环境变量 TZ
ENV TZ=UTC
                        
# 2022-08-24 03:15:09  0.00B 设置环境变量 LC_ALL
ENV LC_ALL=en_US.UTF-8
                        
# 2022-08-24 03:15:09  0.00B 设置环境变量 LANGUAGE
ENV LANGUAGE=en_US:en
                        
# 2022-08-24 03:15:09  0.00B 设置环境变量 LANG
ENV LANG=en_US.UTF-8
                        
# 2022-08-24 03:15:09  3.05MB 执行命令并创建新的镜像层
RUN |9 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/22.6/d2a33ebc82231bf42f84921561e55b457b573213/package_release VERSION=22.6.6.16 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/22.6/d2a33ebc82231bf42f84921561e55b457b573213/package_release single_binary_location_url= TARGETARCH=amd64 /bin/sh -c locale-gen en_US.UTF-8 # buildkit
                        
# 2022-08-24 03:15:07  791.01MB 执行命令并创建新的镜像层
RUN |9 DEBIAN_FRONTEND=noninteractive apt_archive=http://archive.ubuntu.com REPO_CHANNEL=stable REPOSITORY=https://s3.amazonaws.com/clickhouse-builds/22.6/d2a33ebc82231bf42f84921561e55b457b573213/package_release VERSION=22.6.6.16 PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static deb_location_url=https://s3.amazonaws.com/clickhouse-builds/22.6/d2a33ebc82231bf42f84921561e55b457b573213/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
                        
# 2022-08-24 03:05:41  0.00B 定义构建参数
ARG TARGETARCH
                        
# 2022-08-24 03:05:41  0.00B 定义构建参数
ARG single_binary_location_url=
                        
# 2022-08-24 03:05:41  0.00B 定义构建参数
ARG deb_location_url=
                        
# 2022-08-24 03:05:41  0.00B 定义构建参数
ARG PACKAGES=clickhouse-client clickhouse-server clickhouse-common-static
                        
# 2022-08-24 03:05:41  0.00B 定义构建参数
ARG VERSION=22.5.1.*
                        
# 2022-08-24 03:05:41  0.00B 定义构建参数
ARG REPOSITORY=deb https://packages.clickhouse.com/deb stable main
                        
# 2022-08-24 03:05:41  0.00B 定义构建参数
ARG REPO_CHANNEL=stable
                        
# 2022-08-24 03:05:41  75.92MB 执行命令并创建新的镜像层
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 install --yes --no-install-recommends         apt-transport-https         ca-certificates         dirmngr         gnupg         locales         wget         tzdata     && apt-get clean # buildkit
                        
# 2022-08-24 03:05:41  0.00B 定义构建参数
ARG apt_archive=http://archive.ubuntu.com
                        
# 2022-08-24 03:05:41  0.00B 定义构建参数
ARG DEBIAN_FRONTEND=noninteractive
                        
# 2022-08-02 09:30:49  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2022-08-02 09:30:49  72.78MB 
/bin/sh -c #(nop) ADD file:af4cf77e6818016b697a1491101b40c71d06529ced65f36107749f099d6d4bdc in / 
                        
                    

镜像信息

{
    "Id": "sha256:7b9c5318fe4eaa7aeddf9dae40e0b9384dafc0b75c0a532467261995fb40f9ba",
    "RepoTags": [
        "clickhouse/clickhouse-server:22.6.6.16",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/clickhouse/clickhouse-server:22.6.6.16"
    ],
    "RepoDigests": [
        "clickhouse/clickhouse-server@sha256:a23712f97c10f6a32b4bf41203a9386769ba46398916049cfe525ccb041d9f24",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/clickhouse/clickhouse-server@sha256:9ae39c6591816e970d17bbefd1c6e08b09effe9945e11d55e2b00801d88c5be1"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2022-08-23T19:15:09.388262351Z",
    "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/2914095641",
            "com.clickhouse.build.githash": "d2a33ebc82231bf42f84921561e55b457b573213"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 942763948,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/af09ee2d102e83004b866e860e43f5f192bc28b912f650af83f28f7a8f5dd12a/diff:/var/lib/docker/overlay2/d36d86b5bffc97249dbc50bd13cd6ad190d956c8acc68b2efe3c5075f9adac23/diff:/var/lib/docker/overlay2/ed4705a026ae206885c6c6b02f8a0a44e0a880aa457f1702b990cd1103b57bc1/diff:/var/lib/docker/overlay2/e77b92985769ceb5ba4bf4a010d32a3bc75ebfdc5e21d0c46efa19c58639c200/diff:/var/lib/docker/overlay2/6cbb110f1123b4df4aee69fabba5eeef689dd3cc5a0241cca79b5584ac6ebdf3/diff:/var/lib/docker/overlay2/a81ed84e11f69bfed4b0dac1de4f1a19247da68547ca3b4df0d522dea32854a1/diff:/var/lib/docker/overlay2/0e806addcf87560c79c882a5439b3b2c575a6831c1e3c29fef10a7f9b6afe322/diff",
            "MergedDir": "/var/lib/docker/overlay2/99fa6bf1132ba871c4f4e3a13ae6d32ec04749825251cbf8d1a29ac1cdf83c4d/merged",
            "UpperDir": "/var/lib/docker/overlay2/99fa6bf1132ba871c4f4e3a13ae6d32ec04749825251cbf8d1a29ac1cdf83c4d/diff",
            "WorkDir": "/var/lib/docker/overlay2/99fa6bf1132ba871c4f4e3a13ae6d32ec04749825251cbf8d1a29ac1cdf83c4d/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:c3f11d77a5de76ec836c52333d45ac3742c7b27d3d83feba6ec978e223715c67",
            "sha256:817a1eac182540d67fa48442d2700715d946413a2c5c2bd204b8f3d8ee200b29",
            "sha256:8690539289a11aaa277678ac0bdfbc7d231443b6799ab442c6a765b8eb02db78",
            "sha256:8f64a79d9db276403464d98d7c98240f493fb93291e4a2925bf99e6a769b09ae",
            "sha256:388bdd734dd8d64f3e469a0ec75cf0d3b74884afc00d8cc3a70d9bb4065cbe08",
            "sha256:5f83a0902d02f6e11667d0eb3f020c8da4ea3e8f8b8b18488eab882732d043c4",
            "sha256:bea9dc9cbaf6280f7d002bfc5b2eefc9f4f7cd054b6d7500a797ee8a02351307",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-24T10:06:11.612350708+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
19