Dokku server running low on disk space?
It was getting pretty bad (read undeployable):
df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 392M 2.2M 390M 1% /run
/dev/vda1 78G 78G 309M 100% /
Running dokku cleanup
did nearly nothing for my server. However, running this command did:
sudo docker system prune -af
Deleted Containers:
993bb582beeca872d0592c6222d5fc82d232219f6d540a30cc804b864b753bcf
2b74be847ccd32f757acf81e82ce363422ff5878749150bf2dee340f498c4747
Deleted Images:
...
...
Deleted build cache objects:
8nkuyfvjh8txgumdwgjgiqmib
xlm1mbz7kd4cswd17jubfhoyd
...
...
Total reclaimed space: 1.542GB
Don’t listen to the total reclaimed space, mine was a huge under estimate:
df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 392M 2.2M 390M 1% /run
/dev/vda1 78G 18G 61G 23% /