Documentation/Buki/Docker Compose
⚔

Docker Compose

Docker Compose validation and best practices

Installation

First, install the Han CLI tool:

npm install -g @thebushidocollective/han

Then install the plugin:

han plugin install buki-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.

Skills

Hooks

🪝

Stop

Runs when the main Claude Code agent has finished responding.

npx -y @thebushidocollective/han hook run --fail-fast --dirs-with docker-compose.*.yaml,docker-compose.*.yml,compose.*.yaml,compose.*.yml -- docker compose config > /dev/null
🪝

SubagentStop

Runs when a Claude Code subagent (Task tool call) has finished responding.

npx -y @thebushidocollective/han hook run --fail-fast --dirs-with docker-compose.*.yaml,docker-compose.*.yml,compose.*.yaml,compose.*.yml -- docker compose config > /dev/null