docker-syntax-cli-containers

Installation
SKILL.md

docker-syntax-cli-containers

Quick Reference

Container Lifecycle Overview

Command Purpose Key Flags
docker run Create and start container -d, -it, --rm, --name, -p, -v
docker create Create without starting Same as run
docker start Start stopped container -a (attach), -i (interactive)
docker stop Graceful stop (SIGTERM) -t (grace period, default 10s)
docker restart Stop then start -t (grace period)
docker kill Immediate signal -s (signal, default SIGKILL)
docker rm Remove container -f (force), -v (volumes)
docker container prune Remove all stopped --filter
docker exec Run command in container -it, -u, -w, -e
docker logs Read container output -f, --tail, --since
docker inspect Container metadata --format (Go templates)
Related skills
Installs
2
GitHub Stars
1
First Seen
Mar 27, 2026