How To Easily Remove Docker Images, Containers, and Volumes -Shell Commands

Remove All Unused Images, Containers, Volumes, and Networks

docker system prune

Removing Docker Images

docker images purge

Removing Containers

docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)

Removing Volumes

docker volume prune