# dockerfile-lint

> Use this tool when you need to validate Dockerfiles against best practices. It checks for security issues like running as root, inefficient layer ordering, missing health checks, and deprecated instructions.

Canonical page: https://skillsregistry.net/skills/dockerfile-lint  
JSON: https://api.skillsregistry.net/v1/skills/dockerfile-lint

## Description

Lint Dockerfiles for best practices and common mistakes. Checks for security issues, inefficient layers, and missing health checks.

## Trust

- **Trust score (0–1):** 0.30
- **Verification tier:** unverified
- **Last scanned:** 2026-09-02

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** worker
- **Runtime environment:** api
- **Category:** cloud-infra
- **Tags:** container, docker, linting, best-practices
- **Updated:** 2026-09-02

## Source

- **Source listing:** MCP Registry

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "dockerfile-lint"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/dockerfile-lint` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/dockerfile-lint/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
