This repository has been archived on 2021-04-14. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
bare-dotfiles/bin/clean-stopped-containers

4 lines
86 B
Bash
Executable file

#!/bin/bash
for i in $(docker ps -aq -f status=exited) ; do
docker rm -f -v $i
done