docker-logs
Skill0 starsChanged 10 months agoMITView on GitHub
Tail logs from Docker containers to check for errors and monitor application behavior; keywords: docker, error. Use only on explicit request; skip in routine implementation discussions.
In this repository31 other files it gives its agents.
- accessibility-auditSkill
- add-documentationSkill
- add-error-handlingSkill
- address-github-pr-commentsSkill
- clarify-taskSkill
- code-reviewSkill
- create-prSkill
- database-migrationSkill
- debug-issueSkill
- deslopSkill
- diagramsSkill
- fix-compile-errorsSkill
- fix-git-issuesSkill
- generate-api-docsSkill
- generate-pr-descriptionSkill
- git-commitSkill
- git-pushSkill
- light-review-existing-diffsSkill
- lint-fixSkill
- lint-suiteSkill
- onboard-new-developerSkill
- optimize-performanceSkill
- overviewSkill
- refactor-codeSkill
- roadmapSkill
- run-all-tests-and-fixSkill
- security-auditSkill
- security-reviewSkill
- setup-new-featureSkill
- visualizeSkill
- write-unit-testsSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
When user requests to check container logs:
- Very specific: line 22
Use appropriate command: Run docker logs with suitable flags based on their needs
- Very specific: line 76
Run docker ps to discover available containers
- Distinctive: line 78
Ask which container(s) they want to tail
- Distinctive: line 79
Ask if they want any filters (errors only, last N lines, since time, etc.)
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Docker Logs Tail
Tail logs from Docker containers to check for errors and monitor application behavior.
Instructions
When user requests to check container logs:
Discover running containers: First, list all running containers to see what's available:
docker ps --format "table {{.Names}}\t{{.Status}}\t{{.Image}}"- Ask user which container(s): Present the list and ask which container(s) they want to monitor
- Use appropriate command: Run
docker logswith suitable flags based on their needs
Common Commands
List running containers
docker ps --format "table {{.Names}}\t{{.Status}}\t{{.Image}}"Tail logs for a specific container
docker logs -f <container_name>Tail logs with timestamps
docker logs -f --timestamps <container_name>Tail last N lines
docker logs -f --tail 100 <container_name>Check logs since specific time
docker logs -f --since 5m <container_name>View logs from all containers (with docker compose)
docker compose logs -fView logs from specific services
docker compose logs -f <service1> <service2>Filter for errors
docker logs <container_name> 2>&1 | grep -i errorUsage Flow
- Run
docker psto discover available containers - Present the container list to the user
- Ask which container(s) they want to tail
- Ask if they want any filters (errors only, last N lines, since time, etc.)
- Execute the appropriate
docker logscommand
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

