how to stop and remove docker image in ubuntu code example
Example 1: remove all images docker
docker rmi $(docker images -a -q)
Example 2: docker remov all running containers
docker rm $(docker ps -aq)
docker rmi $(docker images -a -q)
docker rm $(docker ps -aq)