Docker best practices help you build smaller and safer containers. This guide covers everything from choosing the right base image to writing production-ready Dockerfiles. You will learn how to use multi-stage builds to keep images lean and how to order layers for faster builds.
Layer caching is key to quick rebuilds. Put dependencies that rarely change first. Then add your application code. This saves time and bandwidth. Security matters too. Use non-root users, pin image tags, and pick distroless or Alpine bases for a smaller attack surface.
You also get ready-to-use templates for Dockerfiles, .dockerignore files, and Compose examples. Whether you are developing locally or deploying to production, these patterns will make your containers more reliable and easier to maintain.
Global
mkdir -p ~/.claude/skills/docker-best-practicesProject
mkdir -p .claude/skills/docker-best-practicesSource Repository
Google Agents Cli Deploygoogle/agents-cli
Deploy Google ADK agents to Agent Runtime, Cloud Run, or GKE with CI/CD
Turborepovercel/turborepo
Speed up your monorepo builds with Turborepo's caching and parallel task runs
Expo Cicd Workflowsexpo/skills
Write and validate EAS workflow YAML files for Expo CI/CD automation
Golang Continuous Integrationsamber/cc-skills-golang
Automate testing linting security and releases for Go projects with GitHub Actions
Docker Expertsickn33/antigravity-awesome-skills
Optimize, secure, and deploy Docker containers like a pro with proven techniques
Multi Stage Dockerfilegithub/awesome-copilot
Create efficient, secure Docker images using multi-stage builds and best practices
Diagnose Ci Failureswarpdotdev/common-skills
Diagnose CI failures fast and get a clear fix plan without touching code
Github Actions Templateswshobson/agents
Create production-ready GitHub Actions workflows for automated testing and deployment