Skip to content

Commit

Permalink
docksal/empty cleanup for bug introduced in 1.12.0 (Relates to #1064)
Browse files Browse the repository at this point in the history
  • Loading branch information
achekulaev committed Jun 3, 2019
1 parent f4477f3 commit 751a8b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/fin
Original file line number Diff line number Diff line change
Expand Up @@ -1293,6 +1293,9 @@ cleanup ()

echo-green "Removing dangling images..."
docker image prune -f 2>/dev/null
# Remove dangling emty images. Temporary to address bug introduced in 1.12.0.
# TODO: Remove this in December 2019
docker ps -a | grep "docksal/empty" | awk '{print $1}' | xargs docker rm
# TODO: use the filter once we have the filter added to all Docksal images (will take a while)
#docker image prune -f --filter "label=io.docksal" 2>/dev/null
}
Expand Down

0 comments on commit 751a8b9

Please sign in to comment.