Building container images, reducing image size, or optimizing container runtime behavior.
When NOT to use
For orchestration or multi-container deployment — use kubernetes-deployment skill instead.
Instructions
Review Dockerfile for layer inefficiency
Suggest multi-stage builds and caching strategies
Run security scans on images
Validate runtime configuration
Example
Reduce application image from 800MB to 120MB using distroless base and layer consolidation.
1---2name: docker-23description: Docker Optimization4metadata:5 source: https://skillmd.com/skills/uitbreidenos/docker-26---7# Docker Optimization89## When to activate1011Building container images, reducing image size, or optimizing container runtime behavior.1213## When NOT to use1415For orchestration or multi-container deployment — use kubernetes-deployment skill instead.1617## Instructions18191. Review Dockerfile for layer inefficiency202. Suggest multi-stage builds and caching strategies213. Run security scans on images224. Validate runtime configuration2324## Example2526Reduce application image from 800MB to 120MB using distroless base and layer consolidation.
Run npx get-skill add uitbreidenos/docker-2 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Docker Optimization It is listed under DevOps & Infra on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
UitbreidenOS (@uitbreidenos) published this skill. Their other Agent Skills are listed on their SkillMD profile.