docker-desktop remove volumes code example
Example 1: docker remove all containers and images
docker container rm $(docker container ls -aq)
Example 2: remove docker images
docker system prune -a
docker container rm $(docker container ls -aq)
docker system prune -a