And that’s all, I’m happy since I was out of space.

    • Joelk111
      link
      31 day ago

      I’m new to docker and all of my shit stopped working recently. Just wouldn’t load. Took about a half hour to find out that old images were taking up about 63GB on my 100GB boot partition, resulting in it being completely full.

      I added the command to prune 3 month old images to my update scripts.

    • Eager Eagle
      link
      English
      313 days ago

      last year I had over 1TB freed by docker system prune on a dev VM. If you’re building images often, that’s a mandatory command to run once in a while.

      • @folekaule
        link
        102 days ago

        I create a cron job with something like: docker system prune -af --filter="until=XXh" where XX is on the order of a few days.

        • Eager Eagle
          link
          English
          42 days ago

          ah, this filter by timestamp might be very useful to me, thanks

    • Fonzie!
      link
      fedilink
      93 days ago

      I once freed 28 GB using find ~/Downloads/ -mtime +30 -delete

    • @[email protected]
      link
      fedilink
      42 days ago

      Oh hey thanks for reminding me, freed 5GB which should buy me a bit of time on upgrading the server I use for this lemmy instance.