docker
Installation
SKILL.md
Docker
Commands
| Task | Command |
|---|---|
| Build image (local) | docker build -f .docker/Dockerfile . |
| Build multi-platform image | docker buildx build --platform linux/amd64,linux/arm64 -f .docker/Dockerfile . |
| View running containers | docker compose ps |
| View container logs | docker compose logs -f <service> |
| Rebuild a specific service | docker compose up -d --build <service> |
Default action: When asked to "build a Docker image" without further qualification, build locally using .docker/Dockerfile at the repo root.
Before building — explore the project first
Before running or modifying Docker configurations, read the project's .docker/Dockerfile to understand:
- How many build stages are defined and what each stage produces (e.g.
builder,runner,nginx)
Related skills
More from dnd-mapp/ai-standards
pull-request
Create a GitHub pull request from the current branch following this project's conventions. Use when the user asks to create a pull request, open a PR, or submit changes for review.
12prettier
>
11commit
Analyze all git changes (staged and unstaged), group them by intent, and commit each group using Conventional Commits format with scopes. Use when committing changes, making commits, or when the user asks to "commit" or "create commits" from current changes.
11eslint
>
11prisma
>
10angular
>
10