docker-cli
Expert Docker CLI reference — containers, images, buildx, compose, networking, volumes, security, multi-platform builds, and troubleshooting.
Skill by Kubementat
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/kubementat-docker-cli
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: devops, security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/docker-cli
What's inside
- Skill name
docker-cli- Description
- Expert Docker CLI reference — containers, images, buildx, compose, networking, volumes, security, multi-platform builds, and troubleshooting. Use this when working with docker containers. Triggers on: docker, container, image, volume, network, compose, Dockerfile, build, pull, push, registry, docker-compose, K8s migration, k3d, kind.
- License
- MIT
- Instructions
- 414 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (2)
- SKILL.md
- cheat-sheet.md · references/
SKILL.md (first lines)
# Docker CLI Skill You are an expert at the `docker` and `docker-compose` CLIs — including modern BuildKit features via `buildx`. Use these tools to manage containers, images, networks, volumes, and multi-service deployments. ## Reference Documents - **Full CLI cheat sheet** — `references/cheat-sheet.md` . Covers every command, flag, and option across all Docker subcommands (containers, images, buildx, compose, networking, volumes, swarm, plugins, context, system). ## Quick Reference: Most Common Commands ```bash # Container lifecycle docker run -d --name myapp nginx # detached container docker ps # running only docker ps -a # all containers docker logs -f <container> # follow logs docker exec -it <container> sh # interactive shell docker stop/start/rm <container> # Build & Images docker buildx build -t myapp:latest . --load # modern build with cache docker pull/push myimage # registry operations docker image prune -a -f # clean unused images # Compose (multi-service) docker compose up -d # start all services docker compose down # stop & remove everything docker compose --profile dev up # profile-based startup ``` ## Container Lifecycle: `run` / `start` / `stop` / `rm` ### Running a container — key options by use case **Basic execution:** `-d -i -t -a/-A` (detach, interactive stdin, pseudo-TTY) **Networking & ports:** ```bash -p 80:80 -p 443:443 # host port mapping --network mynet --name myapp # user-defined network + alias ``` **Volumes & filesystems:** ```bash -v data:/data # named volume -v $(pwd)/src:/usr/src/app:ro # bind mount (read-only) --mount type=bind,source=/host,target=/container # extended syntax ``` **Resources — control CPU/memory/disk I/O and limits:** ```bash -c 512 # relative CPU shares (0–default; higher = more CPU) --cpus=4 # hard cap: number of CPUs --memory=4g --memory-reservation=3g # memory limit + soft reservation -m 4g # shorthand for memory # Device I/O limits --device-read-bps /dev/sda:10mb # read rate from device --device-write-iops /dev/vdb:500 # write IO/s limit on device ``` **Security & isolation:** ```bash -u root # run as specific user (uid:gid format) --userns=host # share host's user namespace --security-opt=no-new-privileges:true # prevent privilege escalation --cap-add=NET_ADMIN # add Linux capability --privileged # full access (avoid in prod) --read-only # read-only rootfs --init # init process for signal forwarding + zombie reaping ``` **Healthchecks (critical for reliability):** ```bash --health-cmd="curl -f http://localhost/ || exit 1" # check command --health-interval=30s # how often to run --health-start-period=60s # grace period before retries count --health-retries=3 # consecutive failures to declare unhealthy ``` **Restart policies:** `--restart=on-failure:5` | `always` | `unless-stopped` | `no` (default) ## Dockerfile Best Practices ### Writing efficient Dockerfiles **Multi-stage builds** — separate build environment from runtime to reduce image size: ```dockerfile # Build stage FROM golang:1.22-bookworm AS builder WORKDIR /app COPY . . RUN CGO_ENABLED=0 go build -o myapp . # Runtime stage FROM debian:bookworm-slim RUN apt-get update && apt-get install -y --no-install-recommends curl && rm -rf /var/lib/apt/lists/* COPY --from=builder /app/myapp /usr/local/bin/myapp USER 1000:1000 ENTRYPOINT ["myapp"] ``` **Layer caching strategy** — order instructions to maximize cache hits: - Copy `go.mod` / `package.json` / `requirements.txt` first, then `RUN install` - Copy application source code last (changes most frequently) - Use `.dockerignore` to exclude unnecessary files from the build context **.dockerignore essentials:** ``` .git .gitignore node_modules __pycache__ *.md .env .dockerignore Dockerfile dist build
From Kubementat/ai_agent_skills, MIT.
More from Kubementat/ai_agent_skills
- 0.603score
artificial-analysis
Kubementat
Query the Artificial Analysis Data API (artificialanalysis.ai) to compare LLMs side by side, rank models by intelligence / coding / agentic index / speed /…
SkillAFreshness: A★ 2Claude Code +9 - 0.597score
herdr-cli
Kubementat
Expert guide for herdr, the terminal workspace manager for AI coding agents.
SkillAFreshness: A★ 2Claude Code +9 - 0.563score
github-actions-cicd
ai_agent_skills
Expert implementation and optimization of GitHub Actions CI/CD pipelines.
SkillBFreshness: B★ 2Claude Code +9 - 0.559score
code-doctor
Agent Skill Creator
Diagnose structural problems in any codebase — god classes, circular dependencies, complexity violations, SOLID anti-patterns.
SkillBFreshness: B★ 2Claude Code +9 - 0.554score
gtd-assistant
Kubementat
A GTD-style productivity assistant that combines open loop collection with intelligent brainstorming to generate actionable next steps, priorities, and…
SkillBFreshness: B★ 2Claude Code +9 - 0.512score
gitlab-ci-cd
ai_agent_skills
Expert design, generation, validation, optimization, and troubleshooting of GitLab CI/CD pipelines.
SkillCFreshness: C★ 2Claude Code +9 - 0.477score
grill-me
Kubementat
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree.
SkillCFreshness: C★ 2Claude Code +9 - 0.448score
frontend-web-developer
Manuel Spörer
Expert frontend developer for Next.js 15/16 App Router, React 19, and Tailwind CSS v4.
SkillDFreshness: D★ 2Claude Code +9 - 0.448score
ansible
Kubementat
Ansible automation reference for playbooks, roles, inventory, variables, and modules.
SkillDFreshness: D★ 2Claude Code +9 - 0.444score
concourse-ci
Netresearch DTT GmbH
Use when working with ANY Concourse CI task: writing pipelines, configuring resources, building images with oci-build-task, troubleshooting failing jobs…
SkillDFreshness: D★ 2Claude Code +9 - 0.443score
code-summarizer
Kubementat
Scouts and summarizes codebases from local directories or GitHub/GitLab URLs.
SkillDFreshness: D★ 2Claude Code +9 - 0.443score
hf-cli
Kubementat
Use the `hf` CLI tool to interact with Hugging Face Hub — downloading models/datasets, uploading files, managing repos, running jobs, and managing…
SkillDFreshness: D★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 5, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Kubementat/ai_agent_skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Kubementat
- 0.603score
artificial-analysis
Kubementat
Query the Artificial Analysis Data API (artificialanalysis.ai) to compare LLMs side by side, rank models by intelligence / coding / agentic index / speed /…
SkillAFreshness: A★ 2Claude Code +9 - 0.597score
herdr-cli
Kubementat
Expert guide for herdr, the terminal workspace manager for AI coding agents.
SkillAFreshness: A★ 2Claude Code +9 - 0.554score
gtd-assistant
Kubementat
A GTD-style productivity assistant that combines open loop collection with intelligent brainstorming to generate actionable next steps, priorities, and…
SkillBFreshness: B★ 2Claude Code +9 - 0.477score
grill-me
Kubementat
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree.
SkillCFreshness: C★ 2Claude Code +9 - 0.448score
ansible
Kubementat
Ansible automation reference for playbooks, roles, inventory, variables, and modules.
SkillDFreshness: D★ 2Claude Code +9 - 0.443score
code-summarizer
Kubementat
Scouts and summarizes codebases from local directories or GitHub/GitLab URLs.
SkillDFreshness: D★ 2Claude Code +9
Cite this page
docker-cli skill. Agent Mart. https://agentmart.dev/skills/kubementat-docker-cli (last updated 2026-10-24)