mirror of
https://github.com/Stunkymonkey/dotfiles.git
synced 2025-05-24 19:14:39 +02:00
updated docker-clean command
thanks to @bebehei
This commit is contained in:
parent
4e260be6f8
commit
c43869f41c
1 changed files with 2 additions and 2 deletions
|
@ -6,8 +6,8 @@ case "$1" in
|
||||||
$0 pacman
|
$0 pacman
|
||||||
;;
|
;;
|
||||||
docker)
|
docker)
|
||||||
docker container ls --filter status=exited --format '{{.ID}}' | xargs -r docker container rm
|
docker container prune --force
|
||||||
docker image ls --filter dangling=true --format='{{.ID}}' | xargs -r docker image rm
|
docker image prune --force
|
||||||
;;
|
;;
|
||||||
pacman)
|
pacman)
|
||||||
pacman -Scc
|
pacman -Scc
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue