mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-22 02:21:34 +00:00
blueprints: add trim-after-delete to the docker-for-mac
This starts the trim-after-delete daemon which calls `fstrim /var/lib/docker` after image deletes are observed. Signed-off-by: David Scott <dave.scott@docker.com>
This commit is contained in:
parent
38787b1ddd
commit
4a6db6eb51
@ -79,6 +79,9 @@ services:
|
||||
"--swarm-default-advertise-addr=eth0",
|
||||
"--userland-proxy-path", "/usr/bin/vpnkit-expose-port",
|
||||
"--storage-driver", "overlay2" ]
|
||||
# Monitor for image deletes and invoke a TRIM on the container filesystem
|
||||
- name: trim-after-delete
|
||||
image: "linuxkit/trim-after-delete:6cc6131300c287fcd40041a28119fee2fc874539"
|
||||
|
||||
files:
|
||||
- path: /var/config/docker/daemon.json
|
||||
|
Loading…
Reference in New Issue
Block a user