Ensure that HEALTHCHECK instructions have been added to container images
Scanned 9/3/2026
Install to Claude Code
npx -y skills add CyberStrikeus/CyberStrike --skill cis-docker-4.6 --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Cis Docker 4.6?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/cyberstrikeus-cis-docker-4-6)More formats (shields.io, HTML) on the badges page.
---
name: cis-docker-4.6
description: "Ensure that HEALTHCHECK instructions have been added to container images"
category: cis-docker
version: "1.8.0"
author: cyberstrike-official
tags: [cis, docker, linux, containers, images, dockerfile, build, healthcheck, availability]
cis_id: "4.6"
cis_benchmark: "CIS Docker Benchmark v1.8.0"
tech_stack: [linux, docker]
cwe_ids: []
chains_with: []
prerequisites: []
severity_boost: {}
---
# 4.6 Ensure that HEALTHCHECK instructions have been added to container images (Manual)
## Profile Applicability
- Level 1 - Docker - Linux
## Description
You should add the `HEALTHCHECK` instruction to your Docker container images in order to ensure that health checks are executed against running containers.
## Rationale
An important security control is that of availability. Adding the `HEALTHCHECK` instruction to your container image ensures that the Docker engine periodically checks the running container instances against that instruction to ensure that containers are still operational.
Based on the results of the health check, the Docker engine could terminate containers which are not responding correctly, and instantiate new ones.
## Impact
None.
## Audit Procedure
You should run the command below to ensure that Docker images have the appropriate `HEALTHCHECK` instruction configured.
```bash
docker inspect --format='{{ .Config.Healthcheck }}' <IMAGE>
```
## Remediation
You should follow the Docker documentation and rebuild your container images to include the `HEALTHCHECK` instruction.
## Default Value
By default, `HEALTHCHECK` is not set.
## References
1. https://docs.docker.com/engine/reference/builder/#healthcheck
## CIS Controls
### v8
**16.12 Implement Code-Level Security Checks**
Apply static and dynamic analysis tools within the application life cycle to verify that secure coding practices are being followed.
### v7
**5.2 Maintain Secure Images**
Maintain secure images or templates for all systems in the enterprise based on the organization's approved configuration standards. Any new system deployment or existing system that becomes compromised should be imaged using one of those images or templates.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!