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-stale-images

4 lines
84 B
Bash
Executable file

#!/bin/bash
for i in $(docker images -q -f dangling=true) ; do
docker rmi $i
done