docker-ops

Solid

Docker on your machine and in your repo: Dockerfile, .dockerignore, compose.yaml, BuildKit, image hardening and supply chain, plus the engine underneath (Docker Desktop, OrbStack, Colima, Podman, Rancher Desktop): contexts and sockets, ports, disk space, file sharing, emulation. Ships a repo auditor, a read-only machine doctor, an image-tag checker. Not for Kubernetes or Helm (kubernetes-ops), DDEV projects (ddev-ops), or WSL itself (windows-ops).

DevOps & Infrastructure 83 stars 8 forks Updated 2 days ago MIT

Install

View on GitHub

Quality Score: 91/100

Stars 20%
64
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Docker Operations Docker on your machine and in your repo: the files you write (Dockerfile, .dockerignore, compose.yaml) and the engine that runs them. Versions verified 2026-10-07 (Compose v5, Docker Desktop 4.94, WSL 3.0, Podman 6); `scripts/check-docker-facts.py --live` re-checks them weekly. **Why:** the costly Docker mistakes are silent. A secret is copied into a layer, a datastore listens on every interface, `compose config` pastes credentials into a log, a prune deletes a volume someone needed. The rules below stop those first. ## Hard rules 1. **Say what is lost before anything destructive, and confirm a sweep.** Removing one stopped container the user named is fine on an explicit ask. `docker kill`, any `prune`, `compose down -v`, `volume rm`, and anything unscoped (`docker rm -f $(docker ps -aq)`) needs a confirmation that names what goes. A sweep counts as a sweep even when everything in it is stopped: scope beats state. Tiers: [destructive-commands.md](references/destructive-commands.md). 2. **Never run `docker compose config` bare.** It prints interpolated values and inlines `env_file` contents. Use `docker compose config --quiet` to validate, and add `--no-interpolate` when you need to read the file. 3. **No secrets in layers.** No `ARG`/`ENV` credentials, no `COPY .env` / `.npmrc` / keys. Use `RUN --mount=type=secret,id=x,required=true` (fails loudly when the secret is missing) and `--mount=type=ssh`. A later `RUN rm` does not remo...

Details

Author
0xDarkMatter
Repository
0xDarkMatter/claude-mods
Created
12 months ago
Last Updated
2 days ago
Language
Shell
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

Code & Development Listed

docker

Scaffolds, operates, reviews and hardens containerized projects - from a cold start or inside an existing repo. Use when containerizing an app, when authoring or editing any Dockerfile/Containerfile/compose file, when inheriting an unfamiliar repo that has one, when a build is slow, an image is fat, or the layer cache never hits, when a container runs as root or leaks secrets into layers, when a container will not start or dies mysteriously (137/OOM, 126, 127), when debugging a container, reclaiming disk, or pushing to a registry, and when reviewing container config before it ships. Also use before granting a container ANY host privilege (Docker socket, privileged, host network, bind-mounting /), which warrants a hard stop. Ships scripts/docker_check.py and drives hadolint and trivy.

0 Updated 3 weeks ago
anton-winter-arch
Code & Development Listed

docker

Scaffolds, operates, reviews and hardens containerized projects - from a cold start or inside an existing repo. Use when containerizing an app, when authoring or editing any Dockerfile/Containerfile/compose file, when inheriting an unfamiliar repo that has one, when a build is slow, an image is fat, or the layer cache never hits, when a container runs as root or leaks secrets into layers, when a container will not start or dies mysteriously (137/OOM, 126, 127), when debugging a container, reclaiming disk, or pushing to a registry, and when reviewing container config before it ships. Also use before granting a container ANY host privilege (Docker socket, privileged, host network, bind-mounting /), which warrants a hard stop. Ships scripts/docker_check.py and drives hadolint and trivy.

0 Updated today
thefilesareinthecomputer
DevOps & Infrastructure Listed

docker

Docker operations, Dockerfile best practices, Compose, image optimization, and registry workflows. Use when user says 'review my Dockerfile', 'optimize my image', 'reduce image size', 'container won't start', 'set up compose', 'multi-stage build', or when working in Dockerfile, docker-compose*.yml, or .dockerignore files.

8 Updated 3 weeks ago
anmolnagpal