docker-expert

Automate Dockerfile creation, optimization, and container security hardening.

7|1|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/skeletorflet/opencode-kit --skill docker-expert-skeletorflet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docker-expert
Source: https://github.com/skeletorflet/opencode-kit/tree/main/.opencode/skills/docker-expert
Command: npx skills add https://github.com/skeletorflet/opencode-kit --skill docker-expert-skeletorflet

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps teams design and implement robust container workflows by providing best-practice guidance for Dockerfile craftsmanship, image optimization, and security hardening.

Core Features & Use Cases

  • Automated Dockerfile craftsmanship: create efficient, multi-stage Dockerfiles that minimize image size and improve build performance.
  • Orchestrated container setups: configure docker-compose environments for development, testing, and production with reliable networking and volumes.
  • Security and compliance: apply container security best practices, non-root execution, and auditable configurations in CI/CD pipelines.

Quick Start

Install Docker on your host and run a sample multi-stage build to observe improvements.

Frequently Asked Questions about docker-expert

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a multi-stage Dockerfile to reduce image size?

Multi-stage Dockerfiles minimize image size by copying only necessary artifacts from builder stages into final runtime images. This pattern uses targeted base images and excludes build dependencies to improve performance and reduce attack surface.

What's the best way to configure docker-compose environments for production?

Configuring docker-compose for production requires reliable networking, persistent volume management, and environment-specific service definitions. It orchestrates multi-container setups to ensure consistent behavior across local, staging, and production stacks.

How does container security hardening apply non-root execution in Docker?

Container security hardening enforces non-root execution by configuring Dockerfiles to run processes with least privilege. This practice creates auditable configurations that protect container runtimes across development and deployment workflows.

Can I use Docker caching strategies to improve build performance?

Docker caching strategies improve build performance by ordering Dockerfile instructions to leverage layer reuse during automated builds. This approach minimizes rebuild times by caching stable dependencies before frequently changing application code.

Why does my container workflow need security and compliance configurations in CI/CD?

Security and compliance configurations in CI/CD pipelines ensure containers meet auditable standards before deployment. Applying best-practice patterns and non-root usage hardens container runtimes and prevents vulnerabilities across staging and production stacks.