Is there any command which can combine the docker stop and docker rm command together ? Each time I want to delete a running container, I need to execu
docker stop
docker rm
This will stop and remove all images including running containers as we are using -f
docker rmi -f $(docker images -a -q)