docker
Skill4 starsChanged 6 months agoMITView on GitHub
How to run, manage, and troubleshoot Docker containers, images, and networks safely via the command line.
55 other projects use a version of this.
Adopted by
Most recently taken up by
- codewithmukesh/dotnet-claude-kittheir own version, first seen Nov 8, 2026
- fmind/dottheir own version, first seen Nov 8, 2026
- fmind/dotfilestheir own version, first seen Nov 8, 2026
- ericwood8/skillstheir own version, first seen Nov 1, 2026
- turkeryildirim/ai-skillstheir own version, first seen Nov 1, 2026
- jars-demo/jars-skillstheir own version, first seen Oct 25, 2026
Used with
Projects with it also use ml-training-recipe, replication and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
getcompanion-aiSkillml-training-recipe
Find implementable ML training recipes from papers, datasets, docs, and code. Use when the user wants to fine-tune, train, reproduce, or choose a practical ML method, dataset, hyperparameter setup, or benchmark recipe.
Also in 3 projects that use this
getcompanion-aiSkillreplication
Plan a replication of a paper, claim, or benchmark, and execute only after an explicit environment choice. Use when the user asks to replicate results, reproduce an experiment, verify a claim empirically, or build a replication package.
Also in 3 projects that use this
Sorcha-PlatformSkillscalar
Generates and configures Scalar OpenAPI UI for API documentation. Use when: Adding API documentation to services, configuring OpenAPI endpoints, customizing documentation themes
Also in 3 projects that use this
brainbytes-devSkillalpha-research
Also in 3 projects that use this
JaimeParkerSkillpaper-code-audit
Perform three-way cross-validation of a research paper by comparing the original paper text (via Zotero), official code implementation (via Git), and personal Obsidian notes. Use this skill whenever the user wants to "audit a paper", "verify paper claims against code", "cross-check notes with implementation", "triangulate paper + code + notes", "find discrepancies between paper and code", or mentions wanting a deep, structured comparison of a paper's claims against its implementation and their own notes. Also trigger when the user asks to "analyze this paper thoroughly" with code available, or when they want to systematically reconcile what the paper says, what the code does, and what their notes claim.
Also in 3 projects that use this
Sorcha-PlatformSkillredis
Implements Redis caching, session management, and distributed coordination for the Sorcha platform. Use when: Adding caching layers, token revocation, rate limiting, SignalR backplane, or distributed state.
Also in 5 projects that use this
- +1 more from getcompanion-ai
Other versions55 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 55
- advaitpaliwal/feynman★ 10ksame name
- companion-inc/feynman★ 10ksame name
- getcompanion-ai/feynman★ 10ksame name
- codewithmukesh/dotnet-claude-kit★ 808same name
- TheDecipherist/claude-code-mastery-project-starter-kit★ 337same name
- Mindrally/skills★ 275same name
- Resgrid/Core★ 238same name
- kid-sid/claude-spellbook★ 190same name
- OpenHands/extensions★ 167same name
- avibebuilder/claude-prime★ 119same name
45 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository124 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/AGENTS.mdAGENTS.md
- .github/workflows/AGENTS.mdAGENTS.md
- .vscode/AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- agent-log-analysisSkill
- agent-mdSkill
- agent-md-writerSkill
- agent-skill-md-writerSkill
- agentskillsSkill
- agents-md-writerSkill
- ai-prompt-writerSkill
- ansibleSkill
- apache-airflow-apiSkill
- apache-airflow-dagsSkill
- astro-cliSkill
- astronomer-docsSkill
- awesome-copilotSkill
- brainstorm-agent-runsSkill
- brainstorm-github-prSkill
- brainstormSkill
- catSkill
- chrome-devtoolsSkill
- claude-docsSkill
- codeqlSkill
- code-reviewSkill
- code-tourSkill
- coding-standard-writerSkill
- context-aware-opsSkill
- copilot-cliSkill
- copilot-docsSkill
- critical-thinkingSkill
- datadog-agentSkill
- datadog-apiSkill
- datadog-mcpSkill
- datadog-monitorsSkill
- datadog-pulumiSkill
- devcontainerSkill
- dictationSkill
- direnvSkill
- dockerfileSkill
- docs-reviewSkill
- docs-writerSkill
- dot-claudeSkill
- dotfilesSkill
- dot-githubSkill
- editorconfigSkill
- fact-writerSkill
- gdpr-compliantSkill
- gh-agent-taskSkill
- gh-apiSkill
- gh-aw-compileSkill
- gh-aw-firewall-debugSkill
- gh-aw-firewallSkill
- gh-aw-newSkill
- gh-awSkill
- gh-aw-troubleshootingSkill
- gh-codespaceSkill
- gh-issueSkill
- gh-modelsSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 0 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 47 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Non-Interactive Execution: Never use -it or interactive pseudo-TTY modes when executing container commands autonomously.
- Very specific: line 16
Resource Cleanup: Always use --rm for ephemeral run commands to prevent container accumulation.
- Very specific: line 17
Absolute Paths for Mounts: When binding volumes via -v, strictly use absolute paths ($PWD or full paths) rather than relative paths.
- Very specific: line 18
JSON Formatting: When querying for container state or image details, prefer structured output (--format '{{json .}}') for robust parsing.
- Very specific: line 40
Debugging Failed Starts: If a container exits immediately, run docker logs <container_name> to trace startup errors.
- Very specific: line 42
Network Resolution Issues: If containers cannot reach each other, verify they share a user-defined network using docker network inspect …
- Very specific: line 46
Do not: run interactive sessions (docker run -it or docker exec -it).
“Common” is measured: kept by at least 6 in 10 of the 47 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill: docker
<!-- markdownlint-disable MD013 MD023 MD031 MD032 -->Execute, inspect, and manage Docker containers, images, and network components directly via the CLI, adhering to safe operational boundaries.
Core Principles
- Non-Interactive Execution: Never use
-itor interactive pseudo-TTY modes when executing container commands autonomously. Always run in detached (-d) or batch execution modes. - Resource Cleanup: Always use
--rmfor ephemeral run commands to prevent container accumulation. Clean up unused images regularly usingdocker system prune, and prune unused volumes withdocker volume pruneordocker system prune --volumes. - Absolute Paths for Mounts: When binding volumes via
-v, strictly use absolute paths ($PWDor full paths) rather than relative paths. - JSON Formatting: When querying for container state or image details, prefer structured output (
--format '{{json .}}') for robust parsing.
Commands / Usage Patterns
- Run Ephemeral Containers:
docker run --rm -v "$PWD":/work -w /work <image> <command> - Run Detached Services with Port Binding:
docker run -d --name <container_name> -p <host_port>:<container_port> <image> - Execute Commands in Running Container (Non-Interactive):
docker exec <container_name> <command>(Avoid-itfor automated agent workflows) - Stream Logs with Timestamps:
docker logs --timestamps --tail 50 <container_name> - Inspect Container Details via JSON:
docker inspect --format='{{json .State.Health}}' <container_name> - List Running Containers (Structured Output):
docker ps --format '{"ID":"{{.ID}}", "Image": "{{.Image}}", "Names":"{{.Names}}", "Status":"{{.Status}}"}' - Build Image with Tags:
docker build -t <image_name>:<tag> -f <Dockerfile_path> .
Diagnostics and Troubleshooting
- Debugging Failed Starts: If a container exits immediately, run
docker logs <container_name>to trace startup errors. - Inspecting Mount Permissions: For
permission deniederrors inside the container, verify host directory permissions or apply SELinux volume labels (:zor:Z). - Network Resolution Issues: If containers cannot reach each other, verify they share a user-defined network using
docker network inspect <network_name>.
What to Avoid
- Do not run interactive sessions (
docker run -itordocker exec -it). These will hang automated agents. - Do not parse tabular
docker psordocker imagesoutput usinggreporawkwhen--formatjson templating is available. - Do not leak credentials via CLI arguments or environment variables (
-e PASSWORD=xyz). Usedocker secret(Swarm) or mount credential files securely.
Limitations
- The agent cannot solve authentication steps interactively (e.g.,
docker loginwithout a password feed). - Building massive images may exceed time-to-live execution limits; prefer optimized caching.
Related Skills
- shell: You MUST load this skill when handling shell commands with performance monitoring or timeouts.
- dockerfile: You MUST load this skill when writing, reviewing, or optimizing Dockerfiles.
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.

