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:
David Scott 2017-06-27 13:02:20 +01:00
parent 38787b1ddd
commit 4a6db6eb51

View File

@ -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