Answers for "docker remove exited containers"

0

docker remove all exited containers

docker container prune
Posted by: Guest on November-04-2020
0

docker remove exited containers

(docker ps -a |findstr Exited) | foreach-object {docker rm $_.split(" ")[-1]}
Posted by: Guest on October-03-2020
1

docker delete container and image

# remove containers created between now upto 4hrs back
docker container prune --filter "until=4h"

# remove images created between now upto 4hrs back
docker image prune --filter "until=4h"
Posted by: Guest on July-22-2020

Code answers related to "docker remove exited containers"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language