Lint a Dockerfile against a rule-based subset of Hadolint checks: untagged or :latest base images, interactive or unpinned apt-get installs, apt list cleanup, apk cache, ADD for local files, shell-form CMD/ENTRYPOINT, running as root and a missing HEALTHCHECK. Lines joined with a trailing backslash count as one instruction, and each issue reports its line in the original file.

post/calculate/dockerfile-linter

Request

  • Base URL: https://utility-matrix.com
  • URL: https://utility-matrix.com/calculate/dockerfile-linter
  • Auth: none declared

Request body

dockerfilestring required

Dockerfile content (full or partial), up to 8,192 characters.

Example request

{
  "dockerfile": "example"
}

Response

Successful calculation

interpretationstring required

Human-readable interpretation of the result.

tool_urlstring required

Canonical browser URL for the corresponding calculator.

Changes

No recorded changes to this operation across all 1 revision of this API.