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
remove all container with xargs
docker ps -a -q | xargs docker rm
for stop all
sudo docker ps -a -q |sudo xargs docker stop
remove single container
docker rm -f