From bb54a4fb29ef890f234069accf42d2ad26825d8c Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Sat, 16 Aug 2025 10:33:50 +1000 Subject: [PATCH] convenience wrapper to remove old images, might get fancier one day and keep say the old ubuntu unused and ditch the rest --- clean-up-old-docker-images | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 clean-up-old-docker-images diff --git a/clean-up-old-docker-images b/clean-up-old-docker-images new file mode 100755 index 0000000..bb1a60e --- /dev/null +++ b/clean-up-old-docker-images @@ -0,0 +1,6 @@ +#!/bin/bash + +# can add a -a, but it got rid of updated ubuntu images, I want to keep them +# but ditch others... so need to let them accumulate again so I can work out a +# better process / filter +docker system prune -af