#0 building with "optimistic_shtern" instance using docker-container driver #1 [internal] booting buildkit #1 pulling image moby/buildkit:buildx-stable-1 #1 pulling image moby/buildkit:buildx-stable-1 4.3s done #1 creating container buildx_buildkit_optimistic_shtern0 #1 creating container buildx_buildkit_optimistic_shtern0 1.8s done #1 DONE 6.1s #2 [internal] load build definition from Dockerfile.ubuntu #2 transferring dockerfile: 5.76kB done #2 DONE 0.0s #3 [internal] load metadata for docker.io/library/ubuntu:22.04 #3 ... #4 [auth] library/ubuntu:pull token for registry-1.docker.io #4 DONE 0.0s #3 [internal] load metadata for docker.io/library/ubuntu:22.04 #3 DONE 1.1s #5 [internal] load .dockerignore #5 transferring context: 2B done #5 DONE 0.0s #6 [internal] load build context #6 transferring context: 9.02kB done #6 DONE 0.0s #7 [ 1/10] FROM docker.io/library/ubuntu:22.04@sha256:b000e69a50ff940390233025e7a337fb8469b509e2334fa4d018ac30f3e18cdb #7 resolve docker.io/library/ubuntu:22.04@sha256:b000e69a50ff940390233025e7a337fb8469b509e2334fa4d018ac30f3e18cdb done #7 sha256:ba082564e6605eeb2e1abc91a762985d2e8afea393433de08e798c1eee36d028 6.29MB / 30.07MB 0.2s #7 sha256:ba082564e6605eeb2e1abc91a762985d2e8afea393433de08e798c1eee36d028 30.07MB / 30.07MB 0.3s done #7 extracting sha256:ba082564e6605eeb2e1abc91a762985d2e8afea393433de08e798c1eee36d028 #7 extracting sha256:ba082564e6605eeb2e1abc91a762985d2e8afea393433de08e798c1eee36d028 0.4s done #7 DONE 0.7s #8 [ 2/10] RUN sed -i "s|http://archive.ubuntu.com|http://archive.ubuntu.com|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 busybox ca-certificates locales tzdata wget && apt-get upgrade --yes --no-install-recommends && busybox --install -s && rm -rf /var/lib/apt/lists/* /var/cache/debconf /tmp/* #8 0.104 Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB] #8 0.117 Get:2 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB] #8 0.224 Get:3 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [8184 kB] #8 0.233 Get:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB] #8 0.263 Get:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB] #8 0.289 Get:6 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages [1792 kB] #8 0.353 Get:7 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [17.5 MB] #8 0.374 Get:8 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [96.7 kB] #8 0.376 Get:9 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1349 kB] #8 0.385 Get:10 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [4590 kB] #8 0.484 Get:11 http://archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages [164 kB] #8 0.485 Get:12 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [266 kB] #8 0.487 Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1648 kB] #8 0.495 Get:14 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [4922 kB] #8 0.515 Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [8527 kB] #8 0.549 Get:16 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [117 kB] #8 0.549 Get:17 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [82.9 kB] #8 0.549 Get:18 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [35.6 kB] #8 1.884 Fetched 49.9 MB in 2s (27.6 MB/s) #8 1.884 Reading package lists... #8 2.883 Reading package lists... #8 3.881 Building dependency tree... #8 4.141 Reading state information... #8 4.366 The following additional packages will be installed: #8 4.367 libpsl5 openssl #8 4.368 Recommended packages: #8 4.368 publicsuffix #8 4.415 The following NEW packages will be installed: #8 4.416 busybox ca-certificates libpsl5 locales openssl tzdata wget #8 4.462 0 upgraded, 7 newly installed, 0 to remove and 4 not upgraded. #8 4.462 Need to get 6740 kB of archives. #8 4.462 After this operation, 25.8 MB of additional disk space will be used. #8 4.462 Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 openssl amd64 3.0.2-0ubuntu1.30 [1186 kB] #8 4.578 Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 ca-certificates all 20261130ubuntu0.22.04.1 [131 kB] #8 4.579 Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 locales all 2.35-0ubuntu3.18 [4245 kB] #8 4.616 Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 tzdata all 2026f-0ubuntu0.22.04.1 [345 kB] #8 4.619 Get:5 http://archive.ubuntu.com/ubuntu jammy/main amd64 libpsl5 amd64 0.21.0-1.2build2 [58.4 kB] #8 4.619 Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 wget amd64 1.21.2-2ubuntu1.5 [339 kB] #8 4.621 Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 busybox amd64 1:1.30.1-7ubuntu3.1 [437 kB] #8 4.741 debconf: delaying package configuration, since apt-utils is not installed #8 4.773 Fetched 6740 kB in 0s (33.7 MB/s) #8 4.789 Selecting previously unselected package openssl. #8 4.789 (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4393 files and directories currently installed.) #8 4.792 Preparing to unpack .../0-openssl_3.0.2-0ubuntu1.30_amd64.deb ... #8 4.795 Unpacking openssl (3.0.2-0ubuntu1.30) ... #8 4.821 Selecting previously unselected package ca-certificates. #8 4.823 Preparing to unpack .../1-ca-certificates_20261130ubuntu0.22.04.1_all.deb ... #8 4.825 Unpacking ca-certificates (20261130ubuntu0.22.04.1) ... #8 4.858 Selecting previously unselected package locales. #8 4.860 Preparing to unpack .../2-locales_2.35-0ubuntu3.18_all.deb ... #8 4.862 Unpacking locales (2.35-0ubuntu3.18) ... #8 4.970 Selecting previously unselected package tzdata. #8 4.971 Preparing to unpack .../3-tzdata_2026f-0ubuntu0.22.04.1_all.deb ... #8 4.973 Unpacking tzdata (2026f-0ubuntu0.22.04.1) ... #8 5.078 Selecting previously unselected package libpsl5:amd64. #8 5.079 Preparing to unpack .../4-libpsl5_0.21.0-1.2build2_amd64.deb ... #8 5.084 Unpacking libpsl5:amd64 (0.21.0-1.2build2) ... #8 5.098 Selecting previously unselected package wget. #8 5.100 Preparing to unpack .../5-wget_1.21.2-2ubuntu1.5_amd64.deb ... #8 5.102 Unpacking wget (1.21.2-2ubuntu1.5) ... #8 5.119 Selecting previously unselected package busybox. #8 5.120 Preparing to unpack .../6-busybox_1%3a1.30.1-7ubuntu3.1_amd64.deb ... #8 5.122 Unpacking busybox (1:1.30.1-7ubuntu3.1) ... #8 5.146 Setting up libpsl5:amd64 (0.21.0-1.2build2) ... #8 5.152 Setting up wget (1.21.2-2ubuntu1.5) ... #8 5.156 Setting up locales (2.35-0ubuntu3.18) ... #8 5.447 Generating locales (this might take a while)... #8 5.450 Generation complete. #8 5.473 Setting up tzdata (2026f-0ubuntu0.22.04.1) ... #8 5.526 #8 5.526 Current default time zone: 'Etc/UTC' #8 5.527 Local time is now: Wed Dec 2 17:23:13 UTC 2026. #8 5.527 Universal Time is now: Wed Dec 2 17:23:13 UTC 2026. #8 5.527 Run 'dpkg-reconfigure tzdata' if you wish to change it. #8 5.527 #8 5.540 Setting up busybox (1:1.30.1-7ubuntu3.1) ... #8 5.544 Setting up openssl (3.0.2-0ubuntu1.30) ... #8 5.550 Setting up ca-certificates (20261130ubuntu0.22.04.1) ... #8 5.760 Clearing symlinks in /etc/ssl/certs... #8 5.762 done. #8 5.762 Updating certificates in /etc/ssl/certs... #8 6.009 112 added, 0 removed; done. #8 6.027 Processing triggers for libc-bin (2.35-0ubuntu3.18) ... #8 6.036 Processing triggers for ca-certificates (20261130ubuntu0.22.04.1) ... #8 6.040 Updating certificates in /etc/ssl/certs... #8 6.219 0 added, 0 removed; done. #8 6.219 Running hooks in /etc/ca-certificates/update.d... #8 6.220 done. #8 6.261 Reading package lists... #8 7.196 Building dependency tree... #8 7.438 Reading state information... #8 7.489 Calculating upgrade... #8 7.668 The following packages will be upgraded: #8 7.669 libgssapi-krb5-2 libk5crypto3 libkrb5-3 libkrb5support0 #8 7.723 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. #8 7.723 Need to get 621 kB of archives. #8 7.723 After this operation, 4096 B of additional disk space will be used. #8 7.723 Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libk5crypto3 amd64 1.19.2-2ubuntu0.12 [86.5 kB] #8 7.805 Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libkrb5support0 amd64 1.19.2-2ubuntu0.12 [33.7 kB] #8 7.811 Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libkrb5-3 amd64 1.19.2-2ubuntu0.12 [356 kB] #8 7.862 Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgssapi-krb5-2 amd64 1.19.2-2ubuntu0.12 [145 kB] #8 7.957 debconf: delaying package configuration, since apt-utils is not installed #8 7.988 Fetched 621 kB in 0s (3130 kB/s) #8 8.005 (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 7362 files and directories currently installed.) #8 8.007 Preparing to unpack .../libk5crypto3_1.19.2-2ubuntu0.12_amd64.deb ... #8 8.014 Unpacking libk5crypto3:amd64 (1.19.2-2ubuntu0.12) over (1.19.2-2ubuntu0.10) ... #8 8.044 Setting up libk5crypto3:amd64 (1.19.2-2ubuntu0.12) ... #8 8.066 (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 7362 files and directories currently installed.) #8 8.069 Preparing to unpack .../libkrb5support0_1.19.2-2ubuntu0.12_amd64.deb ... #8 8.073 Unpacking libkrb5support0:amd64 (1.19.2-2ubuntu0.12) over (1.19.2-2ubuntu0.10) ... #8 8.099 Setting up libkrb5support0:amd64 (1.19.2-2ubuntu0.12) ... #8 8.119 (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 7362 files and directories currently installed.) #8 8.123 Preparing to unpack .../libkrb5-3_1.19.2-2ubuntu0.12_amd64.deb ... #8 8.128 Unpacking libkrb5-3:amd64 (1.19.2-2ubuntu0.12) over (1.19.2-2ubuntu0.10) ... #8 8.168 Setting up libkrb5-3:amd64 (1.19.2-2ubuntu0.12) ... #8 8.206 (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 7362 files and directories currently installed.) #8 8.210 Preparing to unpack .../libgssapi-krb5-2_1.19.2-2ubuntu0.12_amd64.deb ... #8 8.218 Unpacking libgssapi-krb5-2:amd64 (1.19.2-2ubuntu0.12) over (1.19.2-2ubuntu0.10) ... #8 8.247 Setting up libgssapi-krb5-2:amd64 (1.19.2-2ubuntu0.12) ... #8 8.263 Processing triggers for libc-bin (2.35-0ubuntu3.18) ... #8 DONE 8.4s #9 [ 3/10] RUN arch="amd64" && if [ -n "http://172.17.0.1:34889/package_release" ]; then echo "installing from custom url with deb packages: http://172.17.0.1:34889/package_release" && rm -rf /tmp/clickhouse_debs && mkdir -p /tmp/clickhouse_debs && for package in clickhouse-client clickhouse-server clickhouse-common-static; do { wget --progress=bar:force:noscroll "http://172.17.0.1:34889/package_release/${package}_23.8.16.10044.altinitystable_${arch}.deb" -P /tmp/clickhouse_debs || wget --progress=bar:force:noscroll "http://172.17.0.1:34889/package_release/${package}_23.8.16.10044.altinitystable_all.deb" -P /tmp/clickhouse_debs ; } || exit 1 ; done && dpkg -i /tmp/clickhouse_debs/*.deb && rm -rf /tmp/* ; fi #9 0.055 installing from custom url with deb packages: http://172.17.0.1:34889/package_release #9 0.058 --2026-12-02 17:23:15-- http://172.17.0.1:34889/package_release/clickhouse-client_23.8.16.10044.altinitystable_amd64.deb #9 0.058 Connecting to 172.17.0.1:34889... connected. #9 0.058 HTTP request sent, awaiting response... 200 OK #9 0.062 Length: 95662 (93K) [application/vnd.debian.binary-package] #9 0.062 Saving to: '/tmp/clickhouse_debs/clickhouse-client_23.8.16.10044.altinitystable_amd64.deb' #9 0.062 #9 0.062 clickhouse-client_2 0%[ ] 0 --.-KB/s clickhouse-client_2 100%[===================>] 93.42K --.-KB/s in 0s #9 0.063 #9 0.063 2026-12-02 17:23:15 (340 MB/s) - '/tmp/clickhouse_debs/clickhouse-client_23.8.16.10044.altinitystable_amd64.deb' saved [95662/95662] #9 0.063 #9 0.064 --2026-12-02 17:23:15-- http://172.17.0.1:34889/package_release/clickhouse-server_23.8.16.10044.altinitystable_amd64.deb #9 0.064 Connecting to 172.17.0.1:34889... connected. #9 0.064 HTTP request sent, awaiting response... 200 OK #9 0.066 Length: 121574 (119K) [application/vnd.debian.binary-package] #9 0.066 Saving to: '/tmp/clickhouse_debs/clickhouse-server_23.8.16.10044.altinitystable_amd64.deb' #9 0.066 #9 0.066 clickhouse-server_2 0%[ ] 0 --.-KB/s clickhouse-server_2 100%[===================>] 118.72K --.-KB/s in 0s #9 0.066 #9 0.066 2026-12-02 17:23:15 (452 MB/s) - '/tmp/clickhouse_debs/clickhouse-server_23.8.16.10044.altinitystable_amd64.deb' saved [121574/121574] #9 0.066 #9 0.067 --2026-12-02 17:23:15-- http://172.17.0.1:34889/package_release/clickhouse-common-static_23.8.16.10044.altinitystable_amd64.deb #9 0.067 Connecting to 172.17.0.1:34889... connected. #9 0.067 HTTP request sent, awaiting response... 200 OK #9 0.068 Length: 270709750 (258M) [application/vnd.debian.binary-package] #9 0.068 Saving to: '/tmp/clickhouse_debs/clickhouse-common-static_23.8.16.10044.altinitystable_amd64.deb' #9 0.068 #9 0.068 clickhouse-common-s 0%[ ] 0 --.-KB/s clickhouse-common-s 86%[================> ] 223.93M 1.09GB/s clickhouse-common-s 100%[===================>] 258.17M 1.02GB/s in 0.2s #9 0.316 #9 0.316 2026-12-02 17:23:16 (1.02 GB/s) - '/tmp/clickhouse_debs/clickhouse-common-static_23.8.16.10044.altinitystable_amd64.deb' saved [270709750/270709750] #9 0.316 #9 0.330 Selecting previously unselected package clickhouse-client. #9 0.333 (Reading database ... 7362 files and directories currently installed.) #9 0.333 Preparing to unpack .../clickhouse-client_23.8.16.10044.altinitystable_amd64.deb ... #9 0.336 Unpacking clickhouse-client (23.8.16.10044.altinitystable) ... #9 0.352 Selecting previously unselected package clickhouse-common-static. #9 0.354 Preparing to unpack .../clickhouse-common-static_23.8.16.10044.altinitystable_amd64.deb ... #9 0.355 Unpacking clickhouse-common-static (23.8.16.10044.altinitystable) ... #9 3.894 Selecting previously unselected package clickhouse-server. #9 3.895 Preparing to unpack .../clickhouse-server_23.8.16.10044.altinitystable_amd64.deb ... #9 3.898 Unpacking clickhouse-server (23.8.16.10044.altinitystable) ... #9 3.910 Setting up clickhouse-common-static (23.8.16.10044.altinitystable) ... #9 3.914 Setting up clickhouse-server (23.8.16.10044.altinitystable) ... #9 3.962 groupadd: group 'clickhouse' already exists #9 3.964 useradd: user 'clickhouse' already exists #9 4.004 ClickHouse binary is already located at /usr/bin/clickhouse #9 4.004 Symlink /usr/bin/clickhouse-server already exists but it points to /clickhouse. Will replace the old symlink to /usr/bin/clickhouse. #9 4.004 Creating symlink /usr/bin/clickhouse-server to /usr/bin/clickhouse. #9 4.004 Symlink /usr/bin/clickhouse-client already exists but it points to /clickhouse. Will replace the old symlink to /usr/bin/clickhouse. #9 4.004 Creating symlink /usr/bin/clickhouse-client to /usr/bin/clickhouse. #9 4.004 Symlink /usr/bin/clickhouse-local already exists but it points to /clickhouse. Will replace the old symlink to /usr/bin/clickhouse. #9 4.004 Creating symlink /usr/bin/clickhouse-local to /usr/bin/clickhouse. #9 4.004 Symlink /usr/bin/clickhouse-benchmark already exists but it points to /clickhouse. Will replace the old symlink to /usr/bin/clickhouse. #9 4.004 Creating symlink /usr/bin/clickhouse-benchmark to /usr/bin/clickhouse. #9 4.004 Symlink /usr/bin/clickhouse-copier already exists but it points to /clickhouse. Will replace the old symlink to /usr/bin/clickhouse. #9 4.004 Creating symlink /usr/bin/clickhouse-copier to /usr/bin/clickhouse. #9 4.004 Symlink /usr/bin/clickhouse-obfuscator already exists but it points to /clickhouse. Will replace the old symlink to /usr/bin/clickhouse. #9 4.004 Creating symlink /usr/bin/clickhouse-obfuscator to /usr/bin/clickhouse. #9 4.004 Creating symlink /usr/bin/clickhouse-git-import to /usr/bin/clickhouse. #9 4.004 Symlink /usr/bin/clickhouse-compressor already exists but it points to /clickhouse. Will replace the old symlink to /usr/bin/clickhouse. #9 4.004 Creating symlink /usr/bin/clickhouse-compressor to /usr/bin/clickhouse. #9 4.004 Symlink /usr/bin/clickhouse-format already exists but it points to /clickhouse. Will replace the old symlink to /usr/bin/clickhouse. #9 4.004 Creating symlink /usr/bin/clickhouse-format to /usr/bin/clickhouse. #9 4.004 Symlink /usr/bin/clickhouse-extract-from-config already exists but it points to /clickhouse. Will replace the old symlink to /usr/bin/clickhouse. #9 4.004 Creating symlink /usr/bin/clickhouse-extract-from-config to /usr/bin/clickhouse. #9 4.004 Symlink /usr/bin/clickhouse-keeper already exists but it points to /clickhouse. Will replace the old symlink to /usr/bin/clickhouse. #9 4.004 Creating symlink /usr/bin/clickhouse-keeper to /usr/bin/clickhouse. #9 4.004 Symlink /usr/bin/clickhouse-keeper-converter already exists but it points to /clickhouse. Will replace the old symlink to /usr/bin/clickhouse. #9 4.004 Creating symlink /usr/bin/clickhouse-keeper-converter to /usr/bin/clickhouse. #9 4.004 Creating symlink /usr/bin/clickhouse-disks to /usr/bin/clickhouse. #9 4.004 Creating clickhouse group if it does not exist. #9 4.004 groupadd -r clickhouse #9 4.004 Creating clickhouse user if it does not exist. #9 4.004 useradd -r --shell /bin/false --home-dir /nonexistent -g clickhouse clickhouse #9 4.004 Will set ulimits for clickhouse user in /etc/security/limits.d/clickhouse.conf. #9 4.004 Creating config directory /etc/clickhouse-server/config.d that is used for tweaks of main server configuration. #9 4.004 Creating config directory /etc/clickhouse-server/users.d that is used for tweaks of users configuration. #9 4.004 Config file /etc/clickhouse-server/config.xml already exists, will keep it and extract path info from it. #9 4.004 /etc/clickhouse-server/config.xml has /var/lib/clickhouse/ as data path. #9 4.004 /etc/clickhouse-server/config.xml has /var/log/clickhouse-server/ as log path. #9 4.004 Users config file /etc/clickhouse-server/users.xml already exists, will keep it and extract users info from it. #9 4.004 Creating log directory /var/log/clickhouse-server/. #9 4.004 Creating data directory /var/lib/clickhouse/. #9 4.004 Creating pid directory /var/run/clickhouse-server. #9 4.004 chown -R clickhouse:clickhouse '/var/log/clickhouse-server/' #9 4.004 chown -R clickhouse:clickhouse '/var/run/clickhouse-server' #9 4.004 chown clickhouse:clickhouse '/var/lib/clickhouse/' #9 4.004 groupadd -r clickhouse-bridge #9 4.004 useradd -r --shell /bin/false --home-dir /nonexistent -g clickhouse-bridge clickhouse-bridge #9 4.004 chown -R clickhouse-bridge:clickhouse-bridge '/usr/bin/clickhouse-odbc-bridge' #9 4.004 chown -R clickhouse-bridge:clickhouse-bridge '/usr/bin/clickhouse-library-bridge' #9 4.004 Password for default user is empty string. See /etc/clickhouse-server/users.xml and /etc/clickhouse-server/users.d to change it. #9 4.004 SettCannot set 'net_admin' or 'ipc_lock' or 'sys_nice' or 'net_bind_service' capability for clickhouse binary. This is optional. Taskstats accounting will be disabled. To enable taskstats accounting you may add the required capability later manually. #9 4.007 ing capabilities for clickhouse binary. This is optional. #9 4.007 chown -R clickhouse:clickhouse '/etc/clickhouse-server' #9 4.007 #9 4.007 ClickHouse has been successfully installed. #9 4.007 #9 4.007 Start clickhouse-server with: #9 4.007 sudo clickhouse start #9 4.007 #9 4.007 Start clickhouse-client with: #9 4.007 clickhouse-client #9 4.007 #9 4.020 Setting up clickhouse-client (23.8.16.10044.altinitystable) ... #9 DONE 4.5s #10 [ 4/10] RUN if [ -n "" ]; then echo "installing from single binary url: " && rm -rf /tmp/clickhouse_binary && mkdir -p /tmp/clickhouse_binary && wget --progress=bar:force:noscroll "" -O /tmp/clickhouse_binary/clickhouse && chmod +x /tmp/clickhouse_binary/clickhouse && /tmp/clickhouse_binary/clickhouse install --user "clickhouse" --group "clickhouse" && rm -rf /tmp/* ; fi #10 DONE 0.0s #11 [ 5/10] RUN if ! clickhouse local -q "SELECT ''" > /dev/null 2>&1; then apt-get update && apt-get install --yes --no-install-recommends apt-transport-https dirmngr gnupg2 && mkdir -p /etc/apt/sources.list.d && GNUPGHOME=$(mktemp -d) && GNUPGHOME="$GNUPGHOME" gpg --batch --no-default-keyring --keyring /usr/share/keyrings/clickhouse-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3a9ea1193a97b548be1457d48919f6bd2b48d754 && rm -rf "$GNUPGHOME" && chmod +r /usr/share/keyrings/clickhouse-keyring.gpg && echo "http://172.17.0.1:34889/package_release" > /etc/apt/sources.list.d/clickhouse.list && echo "installing from repository: http://172.17.0.1:34889/package_release" && apt-get update && for package in clickhouse-client clickhouse-server clickhouse-common-static; do packages="${packages} ${package}=23.8.16.10044.altinitystable" ; 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 #11 DONE 0.1s #12 [ 6/10] RUN 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 #12 0.067 VERSION_FULL ClickHouse 23.8.16.10044.altinitystable #12 0.067 VERSION_DESCRIBE v23.8.16.10044.altinitystable #12 0.067 VERSION_INTEGER 23008016 #12 0.067 SYSTEM Linux #12 0.067 VERSION_GITHASH 060ff8e813a4a16a540063127f8c91e2108d9adf #12 0.067 VERSION_REVISION 54477 #12 0.067 BUILD_TYPE RelWithDebInfo #12 0.067 SYSTEM_PROCESSOR x86_64 #12 0.067 CMAKE_VERSION 3.31.12 #12 0.067 C_COMPILER /usr/bin/clang-16 #12 0.067 C_COMPILER_VERSION 16.0.6 #12 0.067 CXX_COMPILER /usr/bin/clang++-16 #12 0.067 CXX_COMPILER_VERSION 16.0.6 #12 0.067 C_FLAGS --gcc-toolchain=./cmake/linux/../../contrib/sysroot/linux-x86_64 -fdiagnostics-color=always -Xclang -fuse-ctor-homing -Wno-enum-constexpr-conversion -gdwarf-aranges -pipe -mssse3 -msse4.1 -msse4.2 -mpclmul -mpopcnt -fasynchronous-unwind-tables -ffile-prefix-map=.=. -ftime-trace -falign-functions=32 -mbranches-within-32B-boundaries -fdiagnostics-absolute-paths -Wframe-larger-than=65536 -Weverything -Wpedantic -Wno-zero-length-array -Wno-c++98-compat-pedantic -Wno-c++98-compat -Wno-c++20-compat -Wno-sign-conversion -Wno-implicit-int-conversion -Wno-implicit-int-float-conversion -Wno-ctad-maybe-unsupported -Wno-disabled-macro-expansion -Wno-documentation-unknown-command -Wno-double-promotion -Wno-exit-time-destructors -Wno-float-equal -Wno-global-constructors -Wno-missing-prototypes -Wno-missing-variable-declarations -Wno-padded -Wno-switch-enum -Wno-undefined-func-template -Wno-unused-template -Wno-vla -Wno-weak-template-vtables -Wno-weak-vtables -Wno-thread-safety-negative -Wno-enum-constexpr-conversion -Wno-unsafe-buffer-usage -Wno-deprecated-declarations -Wno-switch-default -Wno-shadow-uncaptured-local -O2 -g -DNDEBUG -O3 -g -gdwarf-4 -flto=thin -fwhole-program-vtables -fno-pie #12 0.067 CXX_FLAGS --gcc-toolchain=./cmake/linux/../../contrib/sysroot/linux-x86_64 -fdiagnostics-color=always -Xclang -fuse-ctor-homing -Wno-enum-constexpr-conversion -fsized-deallocation -gdwarf-aranges -pipe -mssse3 -msse4.1 -msse4.2 -mpclmul -mpopcnt -fasynchronous-unwind-tables -ffile-prefix-map=.=. -ftime-trace -falign-functions=32 -mbranches-within-32B-boundaries -fdiagnostics-absolute-paths -fstrict-vtable-pointers -Wall -Wextra -Wframe-larger-than=65536 -Weverything -Wpedantic -Wno-zero-length-array -Wno-c++98-compat-pedantic -Wno-c++98-compat -Wno-c++20-compat -Wno-sign-conversion -Wno-implicit-int-conversion -Wno-implicit-int-float-conversion -Wno-ctad-maybe-unsupported -Wno-disabled-macro-expansion -Wno-documentation-unknown-command -Wno-double-promotion -Wno-exit-time-destructors -Wno-float-equal -Wno-global-constructors -Wno-missing-prototypes -Wno-missing-variable-declarations -Wno-padded -Wno-switch-enum -Wno-undefined-func-template -Wno-unused-template -Wno-vla -Wno-weak-template-vtables -Wno-weak-vtables -Wno-thread-safety-negative -Wno-enum-constexpr-conversion -Wno-unsafe-buffer-usage -Wno-deprecated-declarations -Wno-switch-default -Wno-shadow-uncaptured-local -O2 -g -DNDEBUG -O3 -g -gdwarf-4 -flto=thin -fwhole-program-vtables -fno-pie #12 0.067 LINK_FLAGS --gcc-toolchain=./cmake/linux/../../contrib/sysroot/linux-x86_64 --ld-path=/usr/bin/ld.lld-16 -Wl,--no-export-dynamic -Wl,--gdb-index -Wl,--build-id=sha1 -no-pie -Wl,-no-pie -flto=thin -fwhole-program-vtables #12 0.067 BUILD_COMPILE_DEFINITIONS #12 0.067 USE_EMBEDDED_COMPILER 1 #12 0.067 USE_GLIBC_COMPATIBILITY ON #12 0.067 USE_JEMALLOC ON #12 0.067 USE_ICU 1 #12 0.067 USE_H3 1 #12 0.067 USE_MYSQL 1 #12 0.067 USE_RDKAFKA 1 #12 0.067 USE_CAPNP 1 #12 0.067 USE_BASE64 1 #12 0.067 USE_HDFS 1 #12 0.067 USE_SNAPPY 1 #12 0.067 USE_PARQUET 1 #12 0.067 USE_PROTOBUF 1 #12 0.067 USE_BROTLI 1 #12 0.067 USE_SSL 1 #12 0.067 OPENSSL_VERSION 1.1.1g #12 0.067 OPENSSL_IS_BORING_SSL 1 #12 0.067 USE_VECTORSCAN ON #12 0.067 USE_SIMDJSON 1 #12 0.067 USE_ODBC 1 #12 0.067 USE_GRPC 1 #12 0.067 USE_LDAP 1 #12 0.067 TZDATA_VERSION 2024a #12 0.067 USE_KRB5 1 #12 0.067 USE_FILELOG 1 #12 0.067 USE_BZIP2 1 #12 0.067 USE_AMQPCPP 1 #12 0.067 USE_ROCKSDB 1 #12 0.067 USE_NURAFT 1 #12 0.067 USE_NLP 1 #12 0.067 USE_LIBURING 1 #12 0.067 USE_SQLITE 1 #12 0.067 USE_LIBPQXX 1 #12 0.067 USE_AZURE_BLOB_STORAGE 1 #12 0.067 USE_AWS_S3 1 #12 0.067 USE_CASSANDRA 1 #12 0.067 USE_YAML_CPP 1 #12 0.067 USE_SENTRY 1 #12 0.067 USE_DATASKETCHES 1 #12 0.067 USE_AVRO 1 #12 0.067 USE_ARROW 1 #12 0.067 USE_ORC 1 #12 0.067 USE_MSGPACK 1 #12 0.067 USE_QPL ON #12 0.067 GIT_HASH 93652ab425039897851fc689bfacd3f88313ec6b #12 0.067 GIT_BRANCH HEAD #12 0.067 GIT_DATE 2026-12-02 15:55:18 +0000 #12 0.067 GIT_COMMIT_SUBJECT Merge 65610a72fb9983430f96ed6843dfd88ecffadd07 into fbdf867459ac0156d303d858f1136db0cf7673c2 #12 DONE 0.1s #13 [ 7/10] RUN locale-gen en_US.UTF-8 #13 0.080 Generating locales (this might take a while)... #13 0.082 en_US.UTF-8... done #13 0.904 Generation complete. #13 DONE 0.9s #14 [ 8/10] RUN mkdir /docker-entrypoint-initdb.d #14 DONE 0.1s #15 [ 9/10] COPY docker_related_config.xml /etc/clickhouse-server/config.d/ #15 DONE 0.0s #16 [10/10] COPY entrypoint.sh /entrypoint.sh #16 DONE 0.0s #17 exporting to image #17 exporting layers #17 exporting layers 19.3s done #17 exporting manifest sha256:e7123cb227d939421179ed87b9d39200802da12e457e04024c11d7b864c7ed56 done #17 exporting config sha256:ee8af88178637eaa2128c308714262def20f856f424c5fbb9281b2a9c48abf1e done #17 exporting attestation manifest sha256:bec1a745b18bdd9de00d031bbf79fdbdec37534b23581e80f29e4a68c6d1d434 0.0s done #17 exporting manifest list sha256:0180108d3cd1db0e4a7b6634c9f22d92e41c269519e41f8816b18953d4db4445 done #17 pushing layers #17 ... #18 [auth] altinityinfra/clickhouse-server:pull,push token for registry-1.docker.io #18 DONE 0.0s #17 exporting to image #17 pushing layers 9.9s done #17 pushing manifest for docker.io/altinityinfra/clickhouse-server:latest@sha256:0180108d3cd1db0e4a7b6634c9f22d92e41c269519e41f8816b18953d4db4445 #17 pushing manifest for docker.io/altinityinfra/clickhouse-server:latest@sha256:0180108d3cd1db0e4a7b6634c9f22d92e41c269519e41f8816b18953d4db4445 2.7s done #17 DONE 32.0s #19 resolving provenance for metadata file #19 DONE 0.0s 5 warnings found (use docker --debug to expand):  - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 120) - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 121) - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 131) - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 118) - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 119)