coolify icon indicating copy to clipboard operation
coolify copied to clipboard

[Bug]: Disk filled by io.containerd snapshots

Open monolithed opened this issue 1 month ago • 1 comments

Error Message and Logs

Most of the disk space is taken up by snapshots that can’t be deleted.

sudo du -ahx / | sort -rh | head -20

42G     /
40G     /var
39G     /var/lib
38G     /var/lib/containerd
23G     /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots
23G     /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs
16G     /var/lib/containerd/io.containerd.content.v1.content/blobs/sha256
16G     /var/lib/containerd/io.containerd.content.v1.content/blobs
16G     /var/lib/containerd/io.containerd.content.v1.content
2.1G    /usr
2.0G    /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/565/fs
2.0G    /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/565
2.0G    /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/395/fs
2.0G    /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/395
2.0G    /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/3598/fs
2.0G    /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/3598
2.0G    /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/3526/fs
2.0G    /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/3526
2.0G    /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/3462/fs
2.0G    /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/3462

This problem occurs only on one of my servers. I tried running the cleanup manually, but nothing happens.

Steps to Reproduce

  1. Build a project from Dockerfile
  2. Go to Servers and run Trigger Manual Cleanup

Coolify Version

v4.0.0-beta.442

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

Linux 6.17.0-1002-gcp #2-Ubuntu SMP Mon Sep 22 16:45:07 UTC 2025 aarch64 GNU/Linux (Minimal Ubuntu 25.10)

Additional Information

Here's my workaround:

docker container prune
docker image prune -a
docker volume prune
docker network prune

monolithed avatar Nov 18 '25 11:11 monolithed

Yeah, same for me, the error in my case happens when trying to start the proxy:

Image

StellarRounin avatar Dec 05 '25 23:12 StellarRounin

Same for me – I have older instance of coolify on another server that is using overlay2 (instead of containerd) which had no issues like this.

marek-andrsk avatar Dec 13 '25 20:12 marek-andrsk