Skip to content

Commit d400a51

Browse files
author
Nitish Malang
committed
Add --volumes to Docker system prune cron job
1 parent 3b2f87c commit d400a51

File tree

1 file changed

+1
-1
lines changed
  • modules/enableit/profile/manifests/virtualization

1 file changed

+1
-1
lines changed

modules/enableit/profile/manifests/virtualization/docker.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@
210210

211211
profile::cron::job { 'regularly prune docker system':
212212
enable => $prune_system,
213-
command => "chronic docker system prune --all --force --filter until=$(( ${prune_duration} * 24 ))h",
213+
command => "chronic docker system prune --all --force --volumes --filter until=$(( ${prune_duration} * 24 ))h",
214214
user => 'root',
215215
hour => 2,
216216
minute => 5,

0 commit comments

Comments
 (0)