down

Stop the current worktree's Compose project.

Usage

docktree down [service...] [flags]

Runs docker compose down for the current worktree's project. Can optionally drop per-worktree tenant databases and Docker volumes, or apply across all worktree instances.

Flags

FlagDescription
-v, --volumesDrop per-worktree tenant databases and Docker volumes (data permanently deleted)
-a, --allApply to all worktree instances in this repository
--dry-runShow what would be stopped without making changes

Arguments

ArgDescription
[service...]One or more service names to stop (default: all services)

Examples

docktree down          # stop current worktree
docktree down --all    # stop all worktrees
docktree down -v       # stop and remove volumes
docktree down web      # stop a specific service

stop

The stop command stops running containers without removing them (equivalent to docker compose stop):

docktree stop [service...] [--dry-run]