add script to remove all stopped containers
parent
d09baec621
commit
6132bd2ff5
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
for i in $(docker ps -aq -f status=exited) ; do
|
||||
docker rm -f -v $i
|
||||
done
|
Reference in New Issue