Feature 57 (config and provisioning): modules declare config and provisions, their files rendered from templates; synced with main (issues of feature 57, 874)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# Generated by the mesh. Do not edit — module docker writes this file and replaces it at every push.
|
||||
[Unit]
|
||||
Description=Prune dangling images and unused build cache (the mesh's docker module)
|
||||
# Never volumes, never a container, never an image a container uses: dangling
|
||||
# images and build cache nothing refers to, unused for a week. What a person
|
||||
# prunes beyond that is docker_prune's, by hand.
|
||||
After=docker.service
|
||||
ConditionPathExists=/run/docker.sock
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
Nice=19
|
||||
IOSchedulingClass=idle
|
||||
ExecStart=/usr/bin/docker image prune --force --filter until=168h
|
||||
ExecStart=/usr/bin/docker builder prune --force --filter until=168h
|
||||
Reference in New Issue
Block a user