dockerlisted
Install: claude install-skill fmind/dot
# Docker and Container Runtime Management
Use `docker`, `docker compose`, and `lazydocker` to manage container execution, services, and local debugging. [containerize](../containerize/SKILL.md) builds and signs images; [trivy](../security-review/references/trivy/GUIDE.md) scans them for vulnerabilities.
Docker, Compose, and Colima are host prerequisites; workstation tools do not install or start them. Inspect existing contexts before choosing a runtime. Container runs execute project code; obtain authority for untrusted images, network pulls, or consequential workloads. Preserve existing volumes and containers.
## Runtime Selection
- **macOS**: use [Colima](https://github.com/abiosoft/colima) as the default container runtime instead of Docker Desktop. Colima runs a lightweight Linux VM using Lima and provides a compatible Docker socket.
```bash
colima start --cpu 4 --memory 8
colima status
colima stop
```
- **Linux**: use the existing Docker-compatible engine; host daemon installation is outside user-space mise setup.
## Workflow
1. **Verify daemon health and storage budget**: confirm the daemon is responsive and check storage footprint before launching workloads. Preserve 20 GiB free space on the workstation.
```bash
docker info
docker system df
```
1. **Manage Compose stacks**: start, inspect, and stop multi-container services with project isolation.
```bash
docker compose up -d
docker compose ps
docker compose logs --tail 100 -f