A solid reference for Docker commands you'll actually use day to day. Covers the full lifecycle from running containers with port mappings and volume mounts to debugging with logs and exec, plus image building, Docker Compose operations, and cleanup commands. The workflows section is especially handy, showing real examples like spinning up a dev container with live reload or a Postgres instance with persistent storage. It's organized by task rather than alphabetically, so you can quickly find "how do I get a shell in this container" or "how do I clean up disk space" without scrolling through everything. Assumes you already know why you need Docker and just want the commands without the tutorial.

install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
6
skills.sh installs
166
GitHub stars
674
last updated
Aug 21, 2026

Install

$ npx -y skills add sundial-org/awesome-openclaw-skills --skill docker-essentials --agent claude-code

Installs into .claude/skills of the current project.

Files

Docker Essentials

Essential Docker commands for container and image management.

Container Lifecycle

Running containers

# Run container from image
docker run nginx

# Run in background (detached)
docker run -d nginx

# Run with name
docker run --name my-nginx -d nginx

# Run with port mapping
docker run -p 8080:80 -d nginx

# Run with environment variables
docker run -e MY_VAR=value -d app

# Run with volume mount
docker run -v /host/path:/container/path -d app

# Run with auto-remove on exit
docker run --rm alpine echo "Hello"

# Interactive terminal
docker run -it ubuntu bash

Managing containers

# List running containers
docker ps

# List all containers (including stopped)
docker ps -a

# Stop container
docker stop container_name

# Start stopped container
docker start container_name

# Restart container
docker restart container_name

# Remove container
docker rm container_name

# Force remove running container
docker rm -f container_name

# Remove all stopped containers
docker container prune

Container Inspection & Debugging

Viewing logs

# Show logs
docker logs container_name

Sponsors

Details

Repository
github.com/sundial-org/awesome-openclaw-skills
Categories
DevOps & CI/CD, Debugging
First seen
Jun 3, 2026

More from sundial-org/awesome-openclaw-skills

All 39
1grandcamel avatargitlab-mrgrandcamel/gitlab-assistant-skillsGitLab merge request operations. ALWAYS use this skill when user wants to: (1) list merge requests, (2) view MR details, (3) create new MRs, (4) approve/merge M165skills.sh installs
2akillness avatarvercel-deployakillness/oh-my-skillsvercel deploy164skills.sh installs
3cinience avataralicloud-platform-devops-testcinience/alicloud-skillsSmoke test for alicloud-platform-devops. Validate script compilation and one bounded DevOps metadata query path.158skills.sh installs
4rysweet avatarazure-devopsrysweet/amplihackComplete Azure DevOps (ADO) automation — work items, boards, sprints, repos, pull requests, pipelines, builds, artifacts. Use when user mentions ADO, work items154skills.sh installs
5andrelandgraf avatarpino-logging-setupandrelandgraf/fullstackrecipesConfigure structured logging with Pino. Outputs human-readable colorized logs in development and structured JSON in production for log aggregation services.153skills.sh installs
6membranedev avataroctopus-deploymembranedev/application-skillsOctopus Deploy integration. Manage Projects, Accounts, Certificates, Feeds, Infrastructures, Users and more. Use when the user wants to interact with Octopus De146skills.sh installs