# Docker

> Docker Backend Skill

- Skill: `leonj1/docker` (Agent Skill)
- Install (CLI): `npx skillmds@latest add leonj1/docker`
- Raw SKILL.md: https://api.skillmd.com/api/skills/leonj1/docker/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: leonj1 (https://skillmd.com/u/leonj1)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/leonj1/docker

---

# Docker Backend Skill

## Description
Backend projects must run within a Docker container defined by a Dockerfile that includes all required dependencies.

## Requirements
- A `Dockerfile` must exist in the backend project root
- The Dockerfile must include all dependencies needed to run the backend
- The Docker image must build successfully

## Validation
Run the following command to validate the Dockerfile:

```bash
docker build -t backend-test .
```

A successful build (exit code 0) indicates the Dockerfile is valid and complete.

