docker
Skill4 starsChanged 9 months agoMITView on GitHub
Docker management — containers, images, volumes, and networks
- Reads credentials
We split this skill into the rules it gives an agent
5 rules. 0 are common, 0 are distinctive, and 5 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.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 193
Use --rm to auto-remove containers after exit
- Very specific: line 194
Use -d for detached (background) mode
- Very specific: line 195
Use -p host:container for port mapping
- Very specific: line 196
Use --restart unless-stopped for auto-restart
- Very specific: line 197
Use docker compose for multi-container apps
“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
Manage Docker containers, images, volumes, and networks.
Containers
# List running containers
docker ps
# List all containers (including stopped)
docker ps -a
# Run container
docker run -d --name myapp -p 8080:80 nginx
# Run with environment variables
docker run -d -e DATABASE_URL=postgres://... -e API_KEY=xxx myimage
# Run with volume
docker run -d -v /host/path:/container/path myimage
# Run interactively
docker run -it ubuntu bash
# Stop container
docker stop myapp
# Start container
docker start myapp
# Remove container
docker rm myapp
# Force remove running container
docker rm -f myappExecute in Container
# Execute command
docker exec myapp ls /app
# Interactive shell
docker exec -it myapp bash
# Run as specific user
docker exec -u root myapp command
# Copy files
docker cp file.txt myapp:/app/
docker cp myapp:/app/logs/ ./logs/Logs & Monitoring
# View logs
docker logs myapp
# Follow logs
docker logs -f myapp
# Last 100 lines
docker logs --tail 100 myapp
# With timestamps
docker logs -t myapp
# Stats (CPU, memory, network)
docker stats myapp
# Inspect container
docker inspect myappImages
# List images
docker images
# Pull image
docker pull nginx:latest
docker pull node:18-alpine
# Build image
docker build -t myapp:latest .
# Build with no cache
docker build --no-cache -t myapp:latest .
# Remove image
docker rmi nginx:latest
# Remove dangling images
docker image prune
# Save/load image
docker save myapp:latest | gzip > myapp.tar.gz
docker load < myapp.tar.gzDocker Compose
# Start services
docker compose up -d
# Build and start
docker compose up -d --build
# Stop services
docker compose down
# View logs
docker compose logs -f
# Scale service
docker compose up -d --scale web=3
# Execute in service
docker compose exec web bashVolumes
# List volumes
docker volume ls
# Create volume
docker volume create mydata
# Inspect volume
docker volume inspect mydata
# Remove volume
docker volume rm mydata
# Remove unused volumes
docker volume pruneNetworks
# List networks
docker network ls
# Create network
docker network create mynet
# Connect container to network
docker network connect mynet myapp
# Disconnect
docker network disconnect mynet myapp
# Remove network
docker network rm mynetCleanup
# Remove all stopped containers
docker container prune
# Remove all unused images
docker image prune -a
# Remove everything unused
docker system prune -a
# Show disk usage
docker system dfTips
- Use
--rmto auto-remove containers after exit - Use
-dfor detached (background) mode - Use
-p host:containerfor port mapping - Use
--restart unless-stoppedfor auto-restart - Use
docker composefor multi-container apps
Triggers
docker, container, docker container, docker image, docker compose, run container, docker logs, docker build
Other versions55 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- fworks-tech/agenthood★ 310% same
Wrote their own version · 54
- getcompanion-ai/feynman★ 10ksame name
- advaitpaliwal/feynman★ 10ksame name
- companion-inc/feynman★ 10ksame name
- TheDecipherist/claude-code-mastery-project-starter-kit★ 337same name
- Mindrally/skills★ 275same name
- Resgrid/Core★ 229same name
- kid-sid/claude-spellbook★ 190same name
- OpenHands/extensions★ 167same name
- avibebuilder/claude-prime★ 119same name
- nahid-sparktales/agent-dispatcher★ 59same name
44 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.
Used alongsideProjects with it also use ml-training-recipe, replication and 9 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.
advaitpaliwalSkillml-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
advaitpaliwalSkillreplication
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
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
brainbytes-devSkillalpha-research
Also in 3 projects that use this
hoodiniSkillmongodb
Work with MongoDB databases using best practices. Use when designing schemas, writing queries, building aggregation pipelines, or optimizing performance. Triggers on MongoDB, Mongoose, NoSQL, aggregation pipeline, document database, MongoDB Atlas.
Also in 4 projects that use this
- +1 more from advaitpaliwal
In this repository83 other files it gives its agents.
- a11y-axeSkill
- airtableSkill
- asanaSkill
- audio-ttsSkill
- aws-cliSkill
- azure-cliSkill
- backupSkill
- bookmarksSkill
- browser-automationSkill
- bundler-analyzeSkill
- calculatorSkill
- calendarSkill
- cargoSkill
- changelog-genSkill
- claude-codeSkill
- clickupSkill
- color-contrastSkill
- crypto-walletSkill
- databaseSkill
- discordSkill
- docker-composeSkill
- dora-metricsSkill
- emailSkill
- ffmpegSkill
- filesystemSkill
- gcloudSkill
- githubSkill
- gmailSkill
- gogSkill
- google-calendarSkill
- habitsSkill
- healthSkill
- hubspotSkill
- image-genSkill
- imagemagickSkill
- image-toolsSkill
- jiraSkill
- journalSkill
- kubernetesSkill
- lighthouseSkill
- linearSkill
- locationSkill
- media-configSkill
- meeting-notesSkill
- nginxSkill
- notesSkill
- notionSkill
- obsidianSkill
- ocrSkill
- pandocSkill
- paymentsSkill
- pdf-toolsSkill
- pip-poetrySkill
- pm2Skill
- pomodoroSkill
- project-managerSkill
- qr-codeSkill
- railway-deploySkill
- redis-cliSkill
- release-notesSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

