Show Menu
Cheatography

Managing Applications in a Container Cheat Sheet by

Commands on managing applications in a container

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. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          Docker basics Cheat Sheet
          Master Measures & Weights with this Cheat Sheet Cheat Sheet

          More Cheat Sheets by hlhlhl

          Linux File and Directory Commands Cheat Sheet
          Managing Processes and Jobs in Linux Cheat Sheet