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: