Basics
Publish date: Feb 5, 2023
Last updated: Feb 5, 2023
Last updated: Feb 5, 2023
See all running pods
docker ps
See all ran pods
docker ps -a
Remove <none> (dangling) images
docker rmi $(docker images -f "dangling=true" -q)
Remove all containers
docker rm $(docker ps -aq)
Remove images conatining keyword
docker rmi -f $(docker images | grep 'keyword' | awk '{print $1}')