# Dockerfile Lint

> Use this skill when the user wants to lint Dockerfiles for best practices, security, and portability issues.

- Skill: `javimosch/dockerfile-lint` (Agent Skill)
- Install (CLI): `npx skillmds@latest add javimosch/dockerfile-lint`
- Raw SKILL.md: https://api.skillmd.com/api/skills/javimosch/dockerfile-lint/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Security
- Author: javimosch (https://skillmd.com/u/javimosch)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/javimosch/dockerfile-lint

---


# dockerfile-lint Plugin

dockerfile-lint checks Dockerfiles for issues.

## Usage Examples

- "lint a Dockerfile for best practices"
- "check for security issues in Dockerfile"
- "validate Dockerfile against company standards"

## Installation

```bash
npm install -g dockerfile-lint
```

## Key Features
- Dockerfile best practice validation
- Security issue detection
- Instruction order checking
- Base image tag verification
- COPY/ADD usage analysis
- Command and path hygiene checks

