mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +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>
4 lines
111 B
Markdown
4 lines
111 B
Markdown
### trim-after-delete
|
|
|
|
This package runs `fstrim /var/lib/docker` after observing a Docker image delete event.
|