I utilize podman on my server for running my software.

Recently, I saw that my server ran out of space on its 8TB raid 10 array. Which immediately raised questions for me.

After using “duc” to analyze my drive. I found that podman had used 4 TB of storage space in “/var/tmp”.

Anyone else have this happen to them?

  • mlfh@lemmy.sdf.org
    link
    fedilink
    arrow-up
    22
    ·
    18 hours ago

    Podman/docker leave behind old images, image layers, and containers that need to be cleaned up occasionally. podman system prune will do so.

    If 8TB was taken up quickly or unexpectedly, it might be something like a container failing to start and being recreated over and over, leaving each failed container behind as it goes. podman ps --all will list all containers, running or stopped. Before doing the system prune run that and podman image ls --all to see if anything looks amiss.

    • panda_abyss@lemmy.ca
      link
      fedilink
      arrow-up
      6
      ·
      18 hours ago

      In my case I like to run most things in containers, and that includes a lot of ML shit. Since I’m on AMD nothing fucking works, so I accumulate all these huge multiple GB containers that don’t work because the whole ML/AI/GPU stack is a steaming pile.