New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Opinionated Docker guidance covering Dockerfiles, base images, runtime hardening, and Compose for local development.

skills.sh installs
950
GitHub stars
66
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers image building (base selection, multi-stage builds, layer ordering, and .dockerignore) plus container runtime settings like resource limits, logging, and restart policies
  • Provides Dockerfile templates by language, an image-size checklist, a .dockerignore template, HEALTHCHECK patterns, and Compose dev-stack examples
  • Enforces pinned tags over latest and least-privilege runtime flags such as --cap-drop=ALL, --read-only, and non-root users
  • Designed for teams building production container images who also want consistent local Compose stacks

Install

$ npx -y skills add josiahsiegel/claude-plugin-marketplace --skill docker-best-practices -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

🚨 CRITICAL GUIDELINES

Windows File Path Requirements

MANDATORY: Always Use Backslashes on Windows for File Paths

When using Edit or Write tools on Windows, you MUST use backslashes (\) in file paths, NOT forward slashes (/).

Examples:

  • ❌ WRONG: D:/repos/project/file.tsx
  • ✅ CORRECT: D:\repos\project\file.tsx

This applies to:

  • Edit tool file_path parameter
  • Write tool file_path parameter
  • All file operations on Windows systems

Documentation Guidelines

NEVER create new documentation files unless explicitly requested by the user.

  • Priority: Update existing README.md files rather than creating new documentation
  • Repository cleanliness: Keep repository root clean - only README.md unless user requests otherwise
  • Style: Documentation should be concise, direct, and professional - avoid AI-generated tone
  • User preference: Only create additional .md files when user specifically asks for documentation

Docker Best Practices

This skill provides current Docker best practices across all aspects of container development, deployment, and operation.

Image Best Practices

Base Image Selection

Details

Repository
github.com/josiahsiegel/claude-plugin-marketplace
Category
DevOps & Cloud
First seen
Apr 16, 2026

More from josiahsiegel/claude-plugin-marketplace

All 26

Similar to Docker Best Practices

More DevOps & Cloud