Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <github@jessfraz.com>
  • Loading branch information
jessfraz committed Oct 31, 2023
1 parent 129351b commit 8b7fe7f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .dockerfunc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ dcleanup(){
local images
mapfile -t images < <(docker images --filter dangling=true -q 2>/dev/null)
docker rmi "${images[@]}" 2>/dev/null
mapfile -t images < <(docker images -q 2>/dev/null)
docker rmi "${images[@]}" 2>/dev/null
docker system prune -f
}
del_stopped(){
local name=$1
Expand Down

0 comments on commit 8b7fe7f

Please sign in to comment.