Docker cli commands
# This one is particularly interesting, removes all the images that are not tagged `<none>`
docker rmi $(docker images -q -f dangling=true) -- force
# It is like the above command, only with grep
docker images | grep SEARCH_STRING | awk '{print $3}' | sort -u | xargs docker rmi --force
# List all containers, includes also detached containers
docker ps -a
Created: 12.10.2021