how to remove stoped images in docker code example
Example 1: docker remov all running containers
docker rm $(docker ps -aq)
Example 2: docker remove all containers and images
docker container stop $(docker container ls -aq)
docker rm $(docker ps -aq)
docker container stop $(docker container ls -aq)