> ## Documentation Index
> Fetch the complete documentation index at: https://tally.wharflab.com/llms.txt
> Use this file to discover all available pages before exploring further.

# hadolint/DL3012

> Multiple `HEALTHCHECK` instructions.

Multiple `HEALTHCHECK` instructions.

> **Superseded by
> [`buildkit/MultipleInstructionsDisallowed`](../buildkit/MultipleInstructionsDisallowed)**,
> which covers duplicate `HEALTHCHECK`, `CMD`, and `ENTRYPOINT`
> instructions with auto-fix support.

## Description

Multiple `HEALTHCHECK` instructions should not be used in the same stage because only the last one will be used.

## Reference

* [hadolint/DL3012](https://github.com/hadolint/hadolint/wiki/DL3012)


## Related topics

- [buildkit/MultipleInstructionsDisallowed](/rules/buildkit/MultipleInstructionsDisallowed.md)
- [Hadolint rules](/rules/hadolint/overview.md)
- [hadolint/DL3020](/rules/hadolint/DL3020.md)
- [hadolint/DL3021](/rules/hadolint/DL3021.md)
- [hadolint/DL3022](/rules/hadolint/DL3022.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.