mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-10-30 21:28:14 +00:00
This adds a helper which monitors the Docker event stream and, when it receives an image delete event, queues a call to `fstrim /var/lib/docker` to trigger a space reclamation. Previously we would rely on a cron job running every 15 minutes. Signed-off-by: David Scott <dave.scott@docker.com>
trim-after-delete
This package runs fstrim /var/lib/docker after observing a Docker image delete event.