Digging things up…
Digging things up…
Docker CLI reference — images, containers, volumes, networks, compose and common flags.
Developer Tools
Encoders, formatters, validators and generators that run entirely in your browser. Whatever you paste stays on your machine — nothing is sent to a server.
Related developer tools
Encode text to Base64 or decode Base64 back to text. Supports URL-safe encoding and Unicode. Runs entirely in your browser — nothing is sent to any server.
Use tool →{ }Format, validate, and minify JSON with clear error messages. Choose 2-space, 4-space, or tab indentation. Client-side only — your data never leaves the browser.
Use tool →🔑Create cryptographically secure passwords with full control over length and character sets.
Use tool →🔗Encode special characters in URLs or decode percent-encoded strings — instantly in your browser.
Use tool →Explore more from Dino Media: All Free Tools · Our Services · Digital Glossary · Our Work
Web Development
From custom web apps to complex integrations, our development team builds fast, robust websites that scale with your business.
docker run -it ubuntu bashRun an interactive Ubuntu container with bash.docker run -d -p 8080:80 nginxRun nginx detached, mapping host port 8080 to container 80.docker run --name myapp -e KEY=val imageRun container with a name and environment variable.docker run --rm imageRun and automatically remove container when it exits.docker run -v /host/path:/container/path imageMount a host directory as a volume.docker psList running containers.docker ps -aList all containers (including stopped).docker stop <id>Gracefully stop a running container.docker kill <id>Immediately kill a container (SIGKILL).docker rm <id>Remove a stopped container.docker rm -f <id>Force remove a running container.docker exec -it <id> bashOpen an interactive shell in a running container.docker logs <id>View container stdout/stderr logs.docker logs -f <id>Stream container logs (follow mode).docker inspect <id>Return detailed JSON info about a container.docker statsLive resource usage stats for running containers.docker cp <id>:/path ./localCopy files from container to host.docker build -t myimage .Build an image from Dockerfile in current directory.docker build -t myimage:v1 -f Dockerfile.prod .Build with a specific tag and Dockerfile.docker pull nginx:alpinePull an image from Docker Hub.docker push username/image:tagPush an image to a registry.docker imagesList local images.docker rmi <image>Remove an image.docker tag source:tag target:tagTag an image with a new name/tag.docker save -o out.tar imageExport an image to a tar archive.docker load -i out.tarLoad an image from a tar archive.docker history imageShow the layer history of an image.docker volume create myvolumeCreate a named volume.docker volume lsList all volumes.docker volume rm myvolumeRemove a named volume.docker volume inspect myvolumeShow details of a volume.docker network lsList Docker networks.docker network create mynetCreate a user-defined bridge network.docker network connect mynet <id>Connect a container to a network.docker network inspect mynetInspect a network and its connected containers.docker compose up -dStart services defined in docker-compose.yml in detached mode.docker compose downStop and remove compose containers, networks.docker compose down -vAlso remove volumes when bringing down.docker compose logs -f serviceStream logs for a specific service.docker compose buildBuild or rebuild services.docker compose psList compose services and their status.docker compose exec service bashExec into a running compose service container.docker compose run --rm service cmdRun a one-off command in a service container.docker system pruneRemove all stopped containers, dangling images, unused networks.docker system prune -aRemove everything unused including named images.docker image pruneRemove dangling images only.docker container pruneRemove all stopped containers.docker volume pruneRemove all unused volumes.