---
title: "ClickHouse on Docker Hardened Images"
description: "ClickHouse server, Keeper, the Kubernetes Operator with its Helm chart, and the metrics exporter are now in Docker's Hardened Images catalog."
url: "https://swe.quest/articles/clickhouse-on-docker-hardened-images-5b8d5f1286faba04"
canonical: "https://clickhouse.com/blog/docker-hardened-images"
source: "ClickHouse"
published: "2026-07-10"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 5
tags: ["supply-chain-security","containers","security"]
---

# ClickHouse on Docker Hardened Images

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2026-07-10, 5 min read, Announcement. Original: [https://clickhouse.com/blog/docker-hardened-images](https://clickhouse.com/blog/docker-hardened-images)

## Summary

ClickHouse server, Keeper, the Kubernetes Operator with its Helm chart, and the metrics exporter are now in Docker's Hardened Images catalog. These are minimal builds with no package manager or network tools, a non-root default user, and SLSA Level 3 provenance. The standard image gets flagged by scanners like Trivy and Grype because of unused Ubuntu 22.04 base packages such as wget (CVE-2021-31879), not because of ClickHouse itself. Docker Scout counts drop from 8 medium/11 low findings to 0 medium/14 low. Migrating changes only the image name plus a required CLICKHOUSE\_PASSWORD, and a dev variant or \`docker debug\` covers debugging needs.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Supply chain security](https://swe.quest/tags/supply-chain-security.md) (Security)
- [Containers](https://swe.quest/tags/containers.md) (Infrastructure)
- [Security](https://swe.quest/tags/security.md) (Security)

## Prerequisites

- Docker containers ([easy posts on Containers](https://swe.quest/tags/containers.md?difficulty=easy))
- container vulnerability scanning

## Keywords

ClickHouse, Docker Hardened Images, Docker Scout, SLSA, Trivy, ClickHouse Keeper, Grype

## Related posts

- [From Security Blocked to Prod Ready: ClickHouse on Docker Hardened Images](https://swe.quest/articles/from-security-blocked-to-prod-ready-clickhouse-on-docker-hardened-images-fbdddd6267212370.md): Docker · 2026-04-30 · Medium · 11 min read · Containers, Supply chain security, Kubernetes, Security
  Security scanners block the standard ClickHouse image because its Ubuntu 22.04 base ships unused packages carrying unpatched CVEs, such as wget (CVE-2021-31879) and tar.
- [Secure by Design: A Proactive Testing Approach with Testcontainers, Docker Scout, and Hardened Images](https://swe.quest/articles/secure-by-design-a-proactive-testing-approach-with-testcontainers-docker-scout-3bd5cb7e139bb4be.md): Docker · 2025-08-28 · Medium · 10 min read · Containers, Supply chain security, Testing, TypeScript
  Swapping a Node.js API's node:22-slim base image for a Docker Hardened Image (distroless dhi-node:22) eliminated all critical and high CVEs flagged by Docker Scout, including Debian 12's CVE-2025-6020, while avoiding the musl compatibility risk of switching to Alpine.
- [CNCF Score project improved its security posture by joining the Docker-Sponsored Open Source Program](https://swe.quest/articles/cncf-score-project-improved-its-security-posture-by-joining-the-docker-203499a569bdd49d.md): Docker · 2026-11-05 · Medium · 8 min read · Supply chain security, Containers, CI/CD, Open source
  Score, a CNCF Sandbox project, hardened its container image supply chain by moving images to Docker Hub, adding Docker Scout PR comparisons that report CVEs, package changes and policy compliance, and switching base images to Docker Hardened Images.
- [Trivy, KICS, and the shape of supply chain attacks so far in 2026](https://swe.quest/articles/trivy-kics-and-the-shape-of-supply-chain-attacks-so-far-in-2026-254fa10337712b5d.md): Docker · 2026-04-23 · Medium · 5 min read · Supply chain security, Incidents & postmortems, Containers, Threat detection
  On April 22, 2026, attackers used stolen Checkmarx publisher credentials to push malicious images to the checkmarx/kics repository on Docker Hub.
- [Making the Most of Your Docker Hardened Images Enterprise Trial – Part 3](https://swe.quest/articles/making-the-most-of-your-docker-hardened-images-enterprise-trial-part-3-074fb74ac78adf47.md): Docker · 2026-01-25 · Medium · 8 min read · Containers, Supply chain security, Security
  Docker Hardened Images (DHI) ship without package managers, shells or utilities, so adding agents, CA certificates or libraries needs one of two patterns.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
