mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 01:06:27 +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>
111 B
111 B
trim-after-delete
This package runs fstrim /var/lib/docker
after observing a Docker image delete event.