Docker stop and remove all containers and delete all images

Stop all docker’s containers

docker stop $(docker ps -a -q)

Remove all docker’s containers

docker rm $(docker ps -a -q)

Remove all docker’s images

docker rmi $(docker images -a -q)
docker stop $(docker ps -a -q);docker rm $(docker ps -a -q);docker rmi $(docker images -a -q);sudo docker-compose up;
Chinese (Simplified) Chinese (Simplified) Dutch Dutch English English French French German German Italian Italian Russian Russian