DEV: cleanup docker prune pattern

DEV: cleanup docker prune pattern

  • When out of space don’t prompt a second time to cleanup
  • Remove docker gc script which is unused
  • Use system prune -a consistently
diff --git a/launcher b/launcher
index bf7b9f1..adbf2dc 100755
--- a/launcher
+++ b/launcher
@@ -226,7 +226,7 @@ check_prereqs() {
     echo
     if [[ $REPLY =~ ^[Yy]$ ]]
     then
-      docker system prune
+      $docker_path system prune -af
       echo "If the cleanup was successful, you may try again now"
     fi
     exit 1
diff --git a/scripts/docker-gc b/scripts/docker-gc
deleted file mode 100755
index b611b17..0000000
--- a/scripts/docker-gc
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash
-
-docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/docker-gc:/var/lib/docker-gc -v /etc:/etc samsaffron/docker-gc
-

GitHub sha: 3273a8e1