Managing Applications in a Container Cheat Sheet

A Software › Linux cheat sheet in English by hlhlhl

Commands on managing applications in a container

558 views 119 downloads 5 Aug 2026 History

Container Runtimes

Command
Purpose
docker version
Docker version
docker info
Runtime inform­ation
docker ps
Running containers
docker images
List images
Replace docker with podman if working with podman

Volume Operations

Command
Purpose
docker volume create
Create volume
docker volume ls
List volumes
docker volume inspect
Volume inform­ation
docker volume rm
Remove volume
Replace docker with podman

Image Operations

Command
Purpose
docker pull
Download image
docker images
List images
docker search
Search registry
docker tag
Tag image
docker rmi
Remove image
docker inspect
Image inform­ation
Replace docker with podman

Container Networks

Command
Purpose
docker network ls
List networks
docker network create
Create network
docker network inspect
Inspect network
docker network connect
Connect container
docker network disconnect
Disconnect container
docker network rm
Remove network
Replace docker with podman

Container Operations

Command
Purpose
docker run
Create & start container
docker start
Start container
docker stop
Stop container
docker restart
Restart container
docker pause
Pause container
docker unpause
Resume container
docker exec
Execute command inside container
docker logs
View logs
docker inspect
View container details
docker rm
Remove container
Replace docker with podman

Comments

No comments yet.

Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.