Disk cleanup

Builds leave cache, deploys leave stopped containers and untagged images. Yawl cleans them on each server:

  • every night at 04:00 UTC, and as soon as the disk is 80% full (at most once an hour);
  • it removes Yawl’s stopped containers made more than an hour ago, untagged images nothing uses, and build cache older than 7 days; at 90% full, all build cache;
  • untagged images and build cache are Docker’s for the whole machine and are cleaned as such: a Yawl server is Yawl’s;
  • live and rollback images are kept, as after every deploy.

Servers > a server’s Disk shows the last cleanup and what it freed, with Clean up now.

Volumes are data and are never removed by a cleanup. The same page lists Yawl volumes no container uses and no service owns, not even one in the trash, and removes one after a confirm. Only Admins can clean up or remove a volume; each is in the audit log.