I'm running a VPS with 7GB of storage, which I thought would be enough for my Docker containers, but I'm hitting a wall. I'm using aiostreams, Traefik, and Stremthru, and it seems like this specific folder in the volume—`volume//_data/hashlists`—is constantly filling up with hash name files and a .git folder. It's draining my VPS storage rapidly, and I really need to figure out how to stop this. If you need any more details, just let me know! I'm still pretty new to Docker, so any help would be appreciated.
3 Answers
It sounds like that folder is being used by one of your containers. First, you'll want to identify which container is using that particular volume. Check your Docker Compose file to see where it's mounted. Once you know which container it is, you can start to pinpoint what’s writing to `hashlists` and possibly causing it to fill. Make sure to run the containers one by one to see if you can catch the culprit!
Make sure you've got a named volume or binding set up to save your container data. If you're just using a temporary volume, it can get cleared when you do a `docker-compose down`. If you have important data there, back it up and ensure your container is set to persist it next time. If it’s already set up correctly, maybe you can just delete the container and prune the volumes to reset things.
That volume you're seeing is likely tied to one of your containers. You could either stop the specific container or impose a limit on the storage the volume can use. You'd want to check your Docker Compose settings to do that!
That sounds doable! But how exactly do I set a max size for the volume? All my containers share just one volume.
Yeah, the '' is just a hash, but I'll try running each app separately to see which one’s causing the issue. Thanks for the tip!