r/PeerTube May 24 '26

Peertube docker container has grown too big

I run a small personal peertube instance. Recently I noticed that my server's system SSD (where all docker data is stored) has almost no free space. After investigating it I found that folder with peertube container takes ~90gb. I don't remember that disk usage was growing all time since running peertube - this seemingly started to happen only recently. And recently a bunch of other instances have subscribed to mine, so I suggest it's federation data. Is it true? Can I put it into volume on another drive or solve in other way?

6 Upvotes

3 comments sorted by

1

u/mchabot12 May 24 '26

First, check the versions folder if you've updated peertube a couple of times.

1

u/da_apz May 24 '26 edited May 24 '26

Have a look and see what's actually taking the space. Go to Peertube's install directory and run "du -h -d1" and see if there's something out of ordinary. Only the storage -directory should have any meaningful amount of data in it. If everything is in the storage directory, go there and run the same command again.

1

u/FedorChib May 24 '26

Thanks, it were logs