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

    • Eager Eagle
      link
      fedilink
      English
      313 months 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@lemmy.world
        link
        fedilink
        123 months 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
          fedilink
          English
          43 months ago

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

    • @bdonvr@thelemmy.club
      link
      fedilink
      43 months 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.

    • Joelk111
      link
      fedilink
      43 months 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.