Skip to content

Commit 274cc48

Browse files
author
Klavs Klavsen
committed
Merge pull request 'Add --volumes to Docker system prune cron job to clean unused volumes' (#1456) from volumes into master
Reviewed-on: https://gitea.obmondo.com/EnableIT/LinuxAid/pulls/1456
2 parents 3b2f87c + d400a51 commit 274cc48

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)