소스 정보
- 저장소
- Dev-Toolbelt/dev-team-agents
- 최근 소스 활동
- 2026년 7월 31일 16:21
- 감지된 SKILL.md 언어
- 영어
- 스타
- 4
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/Dev-Toolbelt/dev-team-agents --skill docker-dev명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | docker-dev |
| description | Docker dev — docker-compose, local Dockerfiles, container debugging. |
Canonical rule for every agent, not just devops. When Docker is the development environment, all commands and scripts run inside the appropriate container — never on the host.
| Task | Command form |
|---|---|
| Run a script or CLI command | docker compose exec <service> <command> |
| Run a one-off command | docker compose run --rm <service> <command> |
| Access a shell | docker compose exec <service> sh (or bash) |
app, api, backend, web, …)docker compose up -dDOCKER_COMPOSE: in the project's CLAUDE.md
(docker compose vs legacy docker-compose) — see skills/shared/stack-detection/SKILL.mdException: if the user explicitly asks for a command to run on the host ("run this locally"), honor it for that command only. The default reverts to in-container immediately after.
services:
app:
build:
context: .
dockerfile: docker/dev/Dockerfile
container_name: myproject-app
restart: unless-stopped
volumes:
- .:/app # bind mount for live code
- /app/vendor # anonymous volume to prevent host override
- /app/node_modules
ports:
- "8000:8000"
environment:
- APP_ENV=local
env_file:
- .env
depends_on:
db:
condition: service_healthy
cache:
condition: service_started
networks:
- myproject
db:
image: postgres:16-alpine
container_name: myproject-db
restart: unless-stopped
environment:
POSTGRES_DB: myproject
POSTGRES_USER: myproject
POSTGRES_PASSWORD:
[, ]
FROM node:20-alpine AS base
# or php:8.3-fpm-alpine, python:3.12-slim, etc.
WORKDIR /app
# Install system dependencies (rarely changes — cache this layer)
RUN apk add --no-cache git curl bash
# Copy dependency manifests only (cache layer)
COPY package*.json ./
RUN npm ci
# In dev: source code comes from bind mount, not COPY
# No COPY . . here
EXPOSE 3000
CMD ["npm", "run", "dev"]
Always add healthchecks to databases and services that have startup latency:
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
interval: 10s
timeout: 5s
retries: 3
start_period: 15s
Use docker-compose.override.yml (git-ignored) for per-developer customizations:
# docker-compose.override.yml (gitignored)
services:
app:
ports:
- "8001:8000" # different port if 8000 is taken locally
# Start
docker compose up -d
# Rebuild after Dockerfile change
docker compose up -d --build app
# Run one-off command
docker compose exec app bash
docker compose exec app npm run test
# See logs
docker compose logs -f app
# Stop and remove volumes (full reset)
docker compose down -v
| Problem | Cause | Fix |
|---|---|---|
| Permission errors on bind mount | Host/container user mismatch | Add user: "${UID}:${GID}" to service |
| Changes not reflected | Bind mount not set up | Check volume path in docker-compose.yml |
| DB not ready on start | Race condition | Use depends_on with condition: service_healthy |
node_modules override | Bind mount covers it | Add anonymous volume for node_modules |