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
2018-07-17 09:48:02 -04:00

2 lines
96 B
Bash
Executable file

#!/bin/bash
docker images -q -f dangling=true | xargs --no-run-if-empty --delim='\n' docker rmi