docker
Skill1 starsChanged 13 days agoMITView on GitHub
Use when working with a Dockerfile or docker-compose.yml, or diagnosing a Docker build or runtime problem, especially on a Windows host running Linux containers. Trigger words - Docker Desktop will not start, stale socket, dependency rebuild, UTF-8 BOM, node_modules bind mount, docker from Git Bash, borrow a container's client.
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
- turkeryildirim/ai-skillstheir own version, first seen Nov 1, 2026
- jars-demo/jars-skillstheir own version, first seen Oct 25, 2026
- ecosyste-ms/claude-plugintheir 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 repository30 other files it gives its agents.
- angular-crud-gotchasSkill
- aws-lightsail-container-deploySkill
- bannerlord-decompileSkill
- codegen-t4-templatesSkill
- csharpSkill
- delphi-code-smellsSkill
- delphi-firedacSkill
- delphiSkill
- delphi-types-and-unitsSkill
- difftasticSkill
- efcore-aspnet-reviewSkill
- git-bash-editingSkill
- github-issue-creatorSkill
- microsoft-docsSkill
- minimal-comments-and-docsSkill
- msbuildSkill
- mssqlSkill
- mstest-assertionsSkill
- mysqlSkill
- nginx-config-testingSkill
- odata-generated-gridsSkill
- postgresSkill
- powershellSkill
- react-crud-gotchasSkill
- sanitize-for-open-sourceSkill
- self-contained-deploymentSkill
- skill-writerSkill
- ui-conventionsSkill
- verify-in-running-appSkill
- winui3Skill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 47 edited versions we read keep these.
1
Distinctive
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 22
Fix: when a Windows-authored repo's editor defaults assume BOM but the containers are Linux-based, expect this friction and strip the BOM …
- Very specific: line 36
Fix: add an anonymous volume for just that path so the container keeps its own copy: volumes: [./frontend:/app, /app/node_modules].
- Very specific: line 40
Symptom: after a crash or forced quit, Docker Desktop shows running OTel manager: removing stale socket: remove …
“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
Docker
A handful of gotchas from real Docker/Compose friction on a Windows-host + Linux-container setup, not a Docker tutorial.
1. --build on one service still rebuilds its dependencies
Symptom: docker compose up -d --build frontend-ui fails on an unrelated, currently-broken backend-api build, although only the frontend was requested.
Cause: Compose builds/starts anything the target service depends_on, not just the named service.
Fix: build the target in isolation first — docker compose build <service> (build only, doesn't touch dependencies) — then restart just that container without its siblings: docker compose up -d --no-deps <service>.
2. UTF-8 BOM causes cross-platform friction
Symptom: a Windows-ecosystem .editorconfig mandating charset = utf-8-bom produces files that break tooling once it runs inside Linux containers — in this project it failed dotnet format --verify-no-changes on auto-generated EF migration files.
Fix: when a Windows-authored repo's editor defaults assume BOM but the containers are Linux-based, expect this friction and strip the BOM from the generated files rather than fighting the formatter or trying to make every container Windows-based.
3. Borrow a CLI client from a running container instead of installing one
Symptom: need to run a one-off CLI command (e.g. mysql) against some database, but the client isn't installed on the Windows host.
Fix: reuse an already-running local container's bundled client against any target, including a remote one: docker exec <local-container> mysql -h <any-host> -u <user> -p'<password>' <db> -e "<sql>". Works equally well against the local dev DB and a remote database (e.g. AWS RDS/Lightsail) — no need to install anything extra on the host.
4. Bind-mounting source on Windows can shadow the container's own node_modules
Symptom: a Node container built fine but breaks once a source bind mount is added — packages built for Linux get overwritten by whatever (or nothing) is on the Windows host.
Cause: a bind mount like ./frontend:/app overwrites the container's own node_modules (installed for Linux) with the host's copy.
Fix: add an anonymous volume for just that path so the container keeps its own copy: volumes: [./frontend:/app, /app/node_modules].
5. Docker Desktop will not start: "removing stale socket ... userAnalyticsOtlpHttp.sock: The file cannot be accessed by the system"
Symptom: after a crash or forced quit, Docker Desktop shows running OTel manager: removing stale socket: remove C:\Users\<you>\AppData\Local\Docker\run\userAnalyticsOtlpHttp.sock and the engine pipe (dockerDesktopLinuxEngine) never appears.
Cause: the leftover is a Unix-socket stub (a reparse point) that Windows reports as error 1920 for every operation. del /f, Remove-Item -Force, fsutil reparsepoint delete and [System.IO.File]::Delete('\\?\...') all fail with the same error, even with Docker fully quit.
Fix: quit Docker Desktop, restart Windows, then start Docker Desktop. The file is gone after the restart. If it is not, delete it in File Explorer. Do not spend time on more delete attempts.
6. Running docker from Git Bash on Windows
export MSYS_NO_PATHCONV=1first, or Git Bash rewrites container paths such as/etc/nginx/...intoC:/Program Files/Git/etc/....- Mount host files with
-v "$(cygpath -w "$PWD/file")":/path/in/container:ro. - A failed
docker run -pcan still leave the named container created;docker rm -f namebefore reusing the name. - Docker Desktop's engine has stopped by itself in the middle of a long session once (not reproduced): run the checks that need a throwaway container in one sitting and confirm
docker psbefore relying on it. - Windows reserves port ranges (
netsh interface ipv4 show excludedportrange protocol=tcp); a port in one fails with "forbidden by its access permissions". Use ports above 18000 for throwaway tests. docker pulland a started Docker Desktop are downloads/starts the user should know about; say which image and roughly how big before pulling.- Retag an image under a local name for a registry push with a plain
docker tag <image>:<version> <local-name>:local; no rebuild (for examplemcr.microsoft.com/mssql/server). - For nginx configs see the
nginx-config-testingskill.
How this was verified
Tested on this machine. The evidence, the versions used and the items not re-run are in reference/verification.md: read it before saying a claim here was tested, and treat anything listed there as not re-run as unverified.
What this does not prove
- That a rule holds on a Linux or macOS host, with Windows containers, Podman, or a later Docker Desktop. The stale-socket fix (restart Windows) may not be needed in a newer version.
- That a Compose behavior (
--buildrebuilding dependencies) holds for every Compose version.
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.

