Documentation/Jutsu/Docker Compose
🎯

Docker Compose

v1.9.0

Docker Compose validation and best practices

Installation

Install han binary (required for hooks to work):

curl -fsSL https://han.guru/install.sh | bash

Then install this plugin:

han plugin install jutsu-docker-compose

Overview

Docker Compose configuration validation for container orchestration.

Features

  • Validates Docker Compose files with docker compose config
  • Provides skills for working with Docker Compose

Requirements

Install Docker with Compose plugin:

# macOS
brew install docker

# Linux
curl -fsSL https://get.docker.com | sh

Skills Included

  • docker-compose-basics: Docker Compose configuration and usage

Hook Behavior

Validates Docker Compose files (docker-compose..yaml, compose..yaml) using docker compose config.

Installation

Install with npx (no installation required):

han plugin install jutsu-docker-compose

Skills

Hooks

⚠

Token Usage Notice

Hooks run automatically during Claude Code sessions and their output is sent to the model for processing. This may increase token usage and associated costs. Consider disabling hooks you don't need via han-config.yml.

🛑

Stop

Runs when the main Claude Code agent has finished responding. Can verify task completion, check quality gates, or ensure documentation requirements are met before the session ends.

🛑

SubagentStop

Runs when a Claude Code subagent (Task tool call) has finished responding. Can validate subagent outputs, enforce quality standards, or trigger additional workflows after delegated tasks complete.