Docker Performance Engineering

Defined build cache hit rate

Define denominator; count only comparable eligible operations. Cache mounts differ from layer hits. Count only eligible steps; skipped steps are not cached steps.

Formal Syntax & Structure

docker syntaxdocker
cached eligible steps / eligible steps

Working Example

Example Snippetdocker
4 / 6 = 66.67%.
Docker Reference