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
To remove all stopped containers docker system prune
docker system prune
To stop live container, docker stop CONTAINER_ID waits 10 sec and it calls docker kill CONTAINER_ID
docker stop CONTAINER_ID
docker kill CONTAINER_ID
Or with docker kill CONTAINER_ID, you can immediately stop the container