Skip to content
HALOWERK

Codewerk

hadolint

Runs the official statically linked hadolint 2.15.1 release binary (GPL-3.0, SHA-256 checked against the published checksums.sha256) in an isolated, resource-limited child process without network or user configuration. Findings come from hadolint JSON output with rule code (DL3xxx Dockerfile rules, SC shell rules for RUN), severity (error, warning, info, style), line and a link to the rule documentation. Optional rule exclusions and trusted registries (DL3026). Base images with tag, digest.

POST https://code.halowerk.com/v1/hadolint

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
dockerfilestringYesDockerfile text (max. 1 MB).
ignorearrayNoRule codes to ignore, e.g. ["DL3008"].
trusted_registriesarrayNoAllowed registries; FROM images from other registries are reported (DL3026).
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "dockerfile"
  ],
  "properties": {
    "dockerfile": {
      "type": "string",
      "minLength": 1,
      "maxLength": 1000000,
      "description": "Dockerfile text (max. 1 MB)."
    },
    "ignore": {
      "type": "array",
      "maxItems": 100,
      "uniqueItems": true,
      "items": {
        "type": "string",
        "pattern": "^(DL|SC)[0-9]{4}$"
      },
      "description": "Rule codes to ignore, e.g. [\"DL3008\"]."
    },
    "trusted_registries": {
      "type": "array",
      "maxItems": 20,
      "uniqueItems": true,
      "items": {
        "type": "string",
        "pattern": "^[a-z0-9]([a-z0-9.-]{0,251}[a-z0-9])?(:[0-9]{1,5})?$"
      },
      "description": "Allowed registries; FROM images from other registries are reported (DL3026)."
    }
  }
}

Open original schema

Published input example

{
  "dockerfile": "FROM ubuntu\nRUN apt-get update && apt-get install curl\nADD app.tar.gz /app\nCMD node server.js\n"
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub โ†’