DevOps & Infrastructure

Docker Development

Docker image development patterns for Dockerfile, docker-compose, docker-bake.hcl, and .dockerignore. Multi-stage builds, layer optimization, CI testing patterns (entrypoint bypass, DNS mocking, compose validation), Docker Bake multi-platform, Trivy scanning, network isolation. By Netresearch.

Latest release v1.18.0

Install

Choose a supported route below. Package contents, agent registration and runtime dependencies can differ between installers.

  1. Claude Code via this marketplace
    /plugin install docker-development@netresearch-claude-code-marketplace

    First add the marketplace once in Claude Code: /plugin marketplace add netresearch/claude-code-marketplace. Then install the selected plugin. For setup and installation scopes, see Claude Code plugin setup A plugin can include several skills and additional components.

  2. npx interactive skill selection
    npx skills add https://github.com/netresearch/docker-development-skill

    Requires Node.js 22.20+. Run from the target project, then choose the source skills and agents in the installer. Uses the skills CLI from skills.sh Installs skill instructions. Extra plugin hooks, commands and external runtime tools are not installed by this route.

  3. composer require PHP project, as a package
    composer require netresearch/docker-development-skill

    Allow the Composer skill installer to activate and approve skill registration when prompted. Requires netresearch/composer-agent-skill-plugin Discovers trusted skill packages and registers their instructions in AGENTS.md. Runtime tools may need separate setup.

  4. composer skills:add PHP project, direct source
    composer skills:add netresearch/docker-development-skill

    Install and activate netresearch/composer-agent-skill-plugin first; approve the selected source's skill registration. Provided by netresearch/composer-agent-skill-plugin Pins source repositories without a Packagist package and records them in composer.skills.lock. Runtime dependencies remain separate.

What you can do with it

  • Dockerfile Best Practices - Multi-stage builds, layer optimization, security
  • CI Testing Patterns - Test Docker images reliably in CI pipelines
  • Docker Compose - Service orchestration, health checks, networking
  • Docker Bake - Multi-platform builds with BuildKit
  • Security - Vulnerability scanning, non-root users, secret management
  • Windows / WSL2 - Run docker through WSL when Docker Desktop uses the WSL2 backend (separate docker-via-wsl skill)

What you get back

  • Dockerfiles, Compose or Bake configuration and container test changes for the selected build or orchestration task.

What it expects in your project

Check the source README for current examples, requirements and limitations. Open full README

Tags

  • devops