Docker

Container management, image building, and deployment commands

41 commands
Search & Copy
Save Favorites
41
Total Commands
100%
Free Access
Lightning Fast

Available Commands

Click on any command to copy it instantly

41 commands available
41 of 41
Resources

Master Docker

Become proficient in containerization

docker

Run Container

Create and start a new Docker container from an image, with options for interactive mode, port mapping, volume mounting, and environment configuration.

docker run
container
lifecycle
docker
+2 more
docker

Start Container

Start one or more stopped containers.

docker start
container
lifecycle
docker

Stop Container

Stop one or more running containers gracefully.

docker stop
container
lifecycle
docker

Restart Container

Restart one or more containers.

docker restart
container
lifecycle
docker

Pause Container

Pause all processes in one or more containers.

docker pause
container
lifecycle
docker

Unpause Container

Resume all processes in one or more paused containers.

docker unpause
container
lifecycle
docker

Remove Container

Remove one or more containers from the system.

docker rm
container
cleanup
docker

List Containers

List running or all containers.

docker ps
container
monitoring
docker

Execute Command

Run a command in a running container.

docker exec
container
debugging
docker

View Logs

Fetch logs from a container’s stdout and stderr.

docker logs
container
debugging
docker

Inspect Container

Return low-level JSON details of Docker objects (containers, images, networks, volumes).

docker inspect
container
debugging
docker

Container Statistics

Display a live stream of container resource usage statistics.

docker stats
container
monitoring
docker

Container Processes

Display running processes inside a container.

docker top
container
monitoring
docker

Copy Files

Copy files or folders between a container and the local filesystem.

docker cp
container
files
docker

List Images

List all locally available Docker images.

docker images
images
listing
repository
docker

Pull Image

Download an image from a remote registry.

docker pull
images
registry
download
docker

Push Image

Upload a local image to a remote registry.

docker push
images
registry
upload
docker

Build Image

Build an image from a Dockerfile.

docker build
images
build
dockerfile
docker

Tag Image

Create a new tag for an existing image.

docker tag
images
tagging
docker

Remove Image

Remove one or more images from the local system.

docker rmi
images
cleanup
docker

List Networks

List all existing Docker networks.

docker network ls
network
list
inspect
docker

Create Network

Create a new user-defined network.

docker network create
network
create
bridge
docker

Connect Container to Network

Connect an existing container to a network.

docker network connect
network
connect
container
docker

Disconnect Container from Network

Disconnect a container from a network.

docker network disconnect
network
disconnect
container
docker

Inspect Network

Display detailed information about one or more networks.

docker network inspect
network
inspect
info
docker

Remove Network

Remove one or more networks.

docker network rm
network
remove
cleanup
docker

List Volumes

List volumes

docker volume ls
volume
management
docker

Create Volume

Create a volume

docker volume create
volume
management
docker

Inspect Volume

Display detailed volume information

docker volume inspect
volume
debugging
docker

Remove Volume

Remove one or more volumes

docker volume rm
volume
cleanup
docker

System Information

Display system-wide information

docker info
system
monitoring
docker

Version Information

Show the Docker version information

docker version
system
monitoring
docker

Disk Usage

Show docker disk usage

docker system df
system
monitoring
docker

Cleanup System

Remove unused data

docker system prune
system
cleanup
docker

Start Services

Create and start containers

docker-compose up
compose
orchestration
docker

Stop Services

Stop and remove containers, networks

docker-compose down
compose
orchestration
docker

List Services

List containers

docker-compose ps
compose
monitoring
docker

View Service Logs

View output from containers

docker-compose logs
compose
debugging
docker

Initialize Swarm

Initialize a swarm

docker swarm init
swarm
orchestration
docker

Join Swarm

Join a swarm as a node

docker swarm join
swarm
orchestration
docker

Create Service

Create a new service

docker service create
swarm
orchestration

Missing a command?

Help us improve this collection by suggesting commands that should be added. Your contributions help the entire developer community!