File contents Docker Compose Advanced
Use the bash tool for advanced Compose workflows. Modern Docker includes Compose as a plugin: use docker compose (with space), not docker-compose.
Setup
Check if installed:
command -v docker && docker --version && docker compose version
Install:
# macOS
brew install docker
# Ubuntu / Debian (see https://docs.docker.com/engine/install/ubuntu/)
sudo apt update && sudo apt install -y ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update && sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Profiles & Environment
docker compose --profile debug up -d
docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d
docker compose --env-file .env.staging up -d
Scaling & Health
docker compose up -d --scale worker=3
docker compose ps --format json | jq '.[] | {Name, State, Health}'
docker compose top
Networking
docker network ls
docker network inspect <network>
docker compose exec <service> ping <other-service>
Tips
Use profiles for dev/staging/prod separation
Use multiple compose files for environment overrides
Always check health status after scaling
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1 --- 2 name: jholhewres-devclaw-skills-docker-compose 3 description: Docker Compose Advanced 4 --- 5 # Docker Compose Advanced 6 7 Use the **bash** tool for advanced Compose workflows. Modern Docker includes Compose as a plugin: use `docker compose` (with space), not `docker-compose`. 8 9 ## Setup 10 11 1. **Check if installed:** 12 ```bash 13 command -v docker && docker --version && docker compose version 14 ``` 15 16 2. **Install:** 17 ```bash 18 # macOS 19 brew install docker 20 21 # Ubuntu / Debian (see https://docs.docker.com/engine/install/ubuntu/) 22 sudo apt update && sudo apt install -y ca-certificates curl 23 sudo install -m 0755 -d /etc/apt/keyrings 24 curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg 25 sudo chmod a+r /etc/apt/keyrings/docker.gpg 26 echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null 27 sudo apt update && sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin 28 ``` 29 30 ## Profiles & Environment 31 ```bash 32 docker compose --profile debug up -d 33 docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d 34 docker compose --env-file .env.staging up -d 35 ``` 36 37 ## Scaling & Health 38 ```bash 39 docker compose up -d --scale worker=3 40 docker compose ps --format json | jq '.[] | {Name, State, Health}' 41 docker compose top 42 ``` 43 44 ## Networking 45 ```bash 46 docker network ls 47 docker network inspect <network> 48 docker compose exec <service> ping <other-service> 49 ``` 50 51 ## Tips 52 - Use profiles for dev/staging/prod separation 53 - Use multiple compose files for environment overrides 54 - Always check health status after scaling 55 56 --- 57 > Converted and distributed by [TomeVault](https://tomevault.io/claim/jholhewres) — claim your Tome and manage your conversions. 58 <!-- tomevault:4.0:skill_md:2026-04-13 -->
tomevault-io/skills-registry/tree/main/jholhewres--devclaw-skills--docker-compose commit a7ba0011f3
Frequently asked questions How do I install the Jholhewres Devclaw Skills Docker Compose skill? Run npx skillmds@latest add tomevault-io/jholhewres-devclaw-skills-docker-compose in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the Jholhewres Devclaw Skills Docker Compose skill do? Docker Compose Advanced It is listed under DevOps & Infra on SkillMD.
Is Jholhewres Devclaw Skills Docker Compose safe to use? This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: FAIL, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with Jholhewres Devclaw Skills Docker Compose? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is Jholhewres Devclaw Skills Docker Compose free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published Jholhewres Devclaw Skills Docker Compose? tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.