# Docker Logs

> Tail logs from Docker containers to check for errors and monitor application behavior. Use when the user types /docker-logs.

- Skill: `blockmatic/docker-logs` (Agent Skill)
- Install (CLI): `npx skillmds@latest add blockmatic/docker-logs`
- Raw SKILL.md: https://api.skillmd.com/api/skills/blockmatic/docker-logs/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: blockmatic (https://skillmd.com/u/blockmatic)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/blockmatic/docker-logs

---


## Purpose

Tail logs from Docker containers to check for errors and monitor application behavior.

## Steps

1. **Discover running containers**: List all running containers to see what's available using `docker ps --format "table {{.Names}}\t{{.Status}}\t{{.Image}}"`
2. **Ask which containers**: Present list and ask which container(s) they want to monitor
3. **Ask for filters**: Ask if they want any filters (errors only, last N lines, since time, etc.)
4. **Execute command**: Run `docker logs` with suitable flags based on their needs

## Completion

Read [completion evidence](../references/completion.md) before reporting completion.

