---
title: "Making the Most of Your Docker Hardened Images Enterprise Trial – Part 1"
description: "Docker Hardened Images (DHI) strip base images down to the minimum runtime, removing package managers, shells and utilities while keeping distro compatibility."
url: "https://swe.quest/articles/making-the-most-of-your-docker-hardened-images-enterprise-trial-part-1-61a4db14eac1477b"
canonical: "https://www.docker.com/blog/making-the-most-of-your-docker-hardened-images-trial-part-1/"
source: "Docker"
published: "2025-11-14"
difficulty: "medium"
kind: "How-to"
reading_minutes: 10
tags: ["containers","supply-chain-security","security"]
---

# Making the Most of Your Docker Hardened Images Enterprise Trial – Part 1

A post on [Docker](https://swe.quest/sources/docker.md), published 2025-11-14, 10 min read, How-to. Original: [https://www.docker.com/blog/making-the-most-of-your-docker-hardened-images-trial-part-1/](https://www.docker.com/blog/making-the-most-of-your-docker-hardened-images-trial-part-1/)

## Summary

Docker Hardened Images (DHI) strip base images down to the minimum runtime, removing package managers, shells and utilities while keeping distro compatibility. They come in standard, dev and FIPS variants. An Enterprise trial walkthrough covers mirroring images into an org namespace, swapping the Dockerfile FROM line, handling common build failures with multi-stage builds, and comparing results with Docker Scout. For a Node.js image, the hardened base cut CVEs from 25 to 0, packages from 321 to 32, and size from 82 MB to 48 MB, and it ships an embedded SBOM exportable as SPDX or CycloneDX.

Written by swe.quest, not by the author.

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

## Topics

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

## Prerequisites

- Dockerfiles
- multi-stage builds
- container image basics

## Keywords

Docker Hardened Images, Docker Scout, FIPS 140, SBOM, SPDX, CycloneDX, SLSA

## Related posts

- [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.
- [Hardened Images Explained: Fewer CVEs, Smaller Attack Surface](https://swe.quest/articles/hardened-images-explained-fewer-cves-smaller-attack-surface-84ba4f604fd33924.md): Docker · 2026-06-04 · Easy · 8 min read · Supply chain security, Containers, Security
  Most container CVEs come from unused packages in general-purpose base images (often 400+ packages when an app needs 20–30), not application code.
- [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.
- [Docker Hardened Images enhanced vulnerability scanning with Docker and Aikido](https://swe.quest/articles/docker-hardened-images-enhanced-vulnerability-scanning-with-docker-and-aikido-d49b93c672989876.md): Docker · 2026-06-11 · Medium · 4 min read · Supply chain security, Containers, Security
  Aikido now scans Docker Hardened Images (DHI) using Docker's signed OpenVEX attestations, automatically suppressing CVEs that Docker has marked fixed or not affected so triage queues show only findings that actually apply.
- [How Medplum Secured Their Healthcare Platform with Docker Hardened Images (DHI)](https://swe.quest/articles/how-medplum-secured-their-healthcare-platform-with-docker-hardened-images-dhi-d732260a4f9831e5.md): Docker · 2026-02-19 · Medium · 10 min read · Containers, Supply chain security, CI/CD
  Medplum, an open-source headless EHR serving 20+ million patients, replaced node:24-slim and nginx-unprivileged base images with Docker Hardened Images.

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)
