ClickhouseAnnouncement
ClickHouse on Docker Hardened Images
Summary
ClickHouse is now available as Docker Hardened Images (DHI), stripped-down builds for the ClickHouse server, ClickHouse Keeper, Kubernetes Operator and Helm chart, and metrics exporter. The standard image’s Ubuntu 22.04 base includes unused packages such as Perl, wget, and apt, whose known CVEs can block enterprise deployments even though ClickHouse does not use them. DHI replaces that base with a minimal image that has no package manager or network tools, runs as non-root, provides SLSA Level 3 provenance, and is maintained for CVE patching; Docker Scout reported 0 medium and 14 low findings for DHI, versus 8 medium and 11 low across 111 packages in the standard image. Migration preserves volumes and configuration, while development tooling remains available through a dev variant or temporary docker debug attachment.
Context
Enterprise vulnerability scanners inventory every package in a container image, so unused Ubuntu packages can produce CVE findings and block ClickHouse deployments. The post gives wget’s unpatched CVE-2021-31879 as an example and explains that teams may spend days investigating or requesting exceptions for tools ClickHouse never uses.
Approach / What changed
Docker Hardened Images provide minimal ClickHouse builds without a package manager or network tools, run as non-root, include SLSA Level 3 provenance, and receive CVE maintenance from Docker’s security team. The catalog includes the server, ClickHouse Keeper, Kubernetes Operator and Helm chart, and metrics exporter. A dev variant and docker debug preserve access to extra tooling during development or troubleshooting.
Takeaways
Docker Scout reported 8 medium and 11 low findings across 111 packages for the standard image, compared with 0 medium and 14 low findings for the DHI image.
The hardened ClickHouse server image keeps volumes and configuration compatible, but uses the dhi.io/clickhouse-server:26.2-debian13 image reference and may require CLICKHOUSE_PASSWORD for network access.
DHI images remove common debugging and package-management tools from production images; a dev variant and docker debug provide those tools without rebuilding the hardened image.
Source and freshness
- Source
- clickhouse.com
- Published
- Added to Yomu
- Last updated
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.