Skip to content
Home
Dev Convert Generate Finance Calc Design Security Media

More categories

Productivity 23 SEO Tools 18 Network Tools 17 Text Tools 16 Education Tools 15 PDF Tools 11 Mockups 9

Learn and build

GuidesBlogAPI & MCPCheatsheetsChangelog All categories

Browse

439 tools · 15 categories

Start here

Popular tools New this week 11 All tools 439

Categories

Developer Tools 91 Converters 65 Calculators 32 Finance Tools 32 Generators 31 Media Tools 27 Design Tools 25 Security Tools 25 Productivity 23 SEO Tools 18 Network Tools 17 Text Tools 16 Education Tools 15 PDF Tools 11 Mockups 9

Learn and build

Guides Cheatsheets Blog REST API MCP server Changelog

No matches here.

Keep FindUtils free Sponsors fund new tools
  1. Cheatsheets
Guides Blog API & MCP
Sponsor
FindUtils
Sponsor
  1. Home
  2. Cheatsheets
  3. DevOps & Cloud
  4. Docker Commands

DevOps & Cloud · Cheatsheet

Docker Commands Cheatsheet

Docker CLI, container management, images, volumes, networks, and Docker Compose

54 commands 7 sections

On this sheet

Container Management 13 Image Management 9 Container Inspection 8 Volumes & Networks 8 Docker Compose 10 Cleanup 4 Sources 2
Try it in the browser Validate and format YAML files with syntax checking for Kubernetes and DevOps. Open YAML Validator

No entry matches that filter.

Container Management

  • docker run <image> Create and start a container
  • docker run -d -p 8080:80 <image> Run detached with port mapping
  • docker run -it <image> bash Run interactively with shell
  • docker run --name <n> <image> Run container with custom name
  • docker run -v /host:/container <image> Run with volume mount
  • docker run --rm <image> Auto-remove container on exit
  • docker ps List running containers
  • docker ps -a List all containers (including stopped)
  • docker stop <container> Stop a running container
  • docker start <container> Start a stopped container
  • docker restart <container> Restart a container
  • docker rm <container> Remove a stopped container
  • docker rm -f <container> Force remove a running container

Image Management

  • docker images List local images
  • docker pull <image>:<tag> Pull image from registry
  • docker build -t <name>:<tag> . Build image from Dockerfile
  • docker tag <image> <repo>:<tag> Tag an image
  • docker push <repo>:<tag> Push image to registry
  • docker rmi <image> Remove an image
  • docker image prune Remove unused images
  • docker save -o <file>.tar <image> Export image to tar file
  • docker load -i <file>.tar Import image from tar file

Container Inspection

  • docker logs <container> Show container logs
  • docker logs -f <container> Follow container logs
  • docker exec -it <container> bash Execute shell in running container
  • docker exec <container> <cmd> Execute command in container
  • docker inspect <container> Show detailed container info
  • docker stats Show live resource usage stats
  • docker top <container> Show running processes in container
  • docker cp <container>:<path> <local> Copy files from container

Volumes & Networks

  • docker volume create <name> Create a named volume
  • docker volume ls List volumes
  • docker volume rm <name> Remove a volume
  • docker volume prune Remove unused volumes
  • docker network create <name> Create a network
  • docker network ls List networks
  • docker network connect <net> <ctr> Connect container to network
  • docker network inspect <name> Show network details

Docker Compose

  • docker compose up Start all services
  • docker compose up -d Start all services (detached)
  • docker compose down Stop and remove containers
  • docker compose down -v Stop, remove containers and volumes
  • docker compose build Build or rebuild services
  • docker compose logs -f Follow logs for all services
  • docker compose ps List running services
  • docker compose exec <svc> bash Shell into a running service
  • docker compose pull Pull latest images
  • docker compose restart <svc> Restart a specific service

Cleanup

  • docker system prune Remove unused data (images, containers, networks)
  • docker system prune -a Remove ALL unused data
  • docker system df Show Docker disk usage
  • docker container prune Remove stopped containers

Sources

  • https://docs.docker.com/reference/cli/docker/ Docker CLI reference: container, image, network, and volume operations.
  • https://docs.docker.com/reference/cli/docker/compose/ Docker Compose CLI reference: application lifecycle and command options.

Related cheatsheets

  • Kubernetes Commands72 commands
  • Apache HTTP Server64 commands
  • Nginx Server69 commands

Guides that use these commands

  • Yolobox Configurator: Generate AI Sandbox Configs in SecondsGuide · 10 min read
  • dnpm Guide: Isolate npm Commands with DockerGuide · 13 min read
  • Cron Expression Generator: Build and Check Five-Field SchedulesGuide · 6 min read

Tools for this work

  • YAML ValidatorValidate and format YAML files with syntax checking for Kubernetes and DevOps.
  • dnpm ConfiguratorGenerate a secure Docker-based npm wrapper that sandboxes installs and builds. Blocks supply chain attacks like the axios RAT.

From FindUtils

More to explore

Products and services from the team behind FindUtils.

Promote your tool
Featured product seeranks.com SeeRanks — transparent product discovery A public ranking board where paid placement is always labeled and every product keeps its earned position. View SeeRanks Public rank board #1 Sponsored #2 #3 #4 Paid placement is always labeled Free favicon tool emojifavicons.com Emoji Favicons Turn any emoji into a favicon with one HTML line. SVG, PNG or ICO, no sign-up. <link rel="icon" href=".../🦊.svg"> Create a favicon
FindUtils service findutils.com Articles for software tools A sourced article for your channels, or a sponsored FindUtils publication with editorial review. Compare packages Domain portfolio findutils.com Domain names for sale .com.dev.sh.app.io Unused names across dev tools, AI, PDF and commerce. Make an offer. Browse the list Playable ranking towerscore.io TowerScore — stack the skyline Play to climb, or buy a floor. Paid floors are labeled. Open TowerScore

Missing a tool you need?

Tell us what to build next. Most requests ship as a free browser tool, an API endpoint and an MCP tool.

Request a tool
FindUtils

Free, fast utilities. Most tools process your files in the browser; lookup tools say what they send, and pages load analytics and ads.

  • No sign-up for free tools
  • Most tools run in your browser
  • 369 tools on the REST API, 369 on MCP

Tools

DevelopersConvertPDFDesignSecurityAll tools →

Learn

GuidesBlogCheatsheetsChangelog

Build

REST APIMCP serverAPI referenceWorkflowsStatus

FindUtils

AboutLibraries we useSponsorRequest a toolDomains for saleContact
© 2026 FindUtils PrivacyTermsSitemap
Service status
FindUtils

Free, fast utilities that respect your data. Most tools run in your browser.

Build with it

REST APIMCP serverGuidesChangelog

FindUtils

AboutSponsorPrivacyContact
Theme
© 2026 FindUtils Terms
FindUtils
Guides Blog REST API MCP server Changelog

Categories

Developers 91 Convert 65 Calculate 32 Finance 32 Generate 31 Media 27
All 15 categories →

Keep it free

Sponsorship keeps every tool free and funds the new ones we ship each week.

Sponsor Back the project
Tools API Sponsor