diff --git a/roles/mgrote_docker_housekeeping/templates/docker_housekeeping.service.j2 b/roles/mgrote_docker_housekeeping/templates/docker_housekeeping.service.j2 index ae40c6d4..9d564e41 100644 --- a/roles/mgrote_docker_housekeeping/templates/docker_housekeeping.service.j2 +++ b/roles/mgrote_docker_housekeeping/templates/docker_housekeeping.service.j2 @@ -1,8 +1,9 @@ {{ file_header | default () }} [Unit] -Description=Docker housekeeping tasks +Description=docker housekeeping tasks [Service] Type=simple -ExecStart=/usr/bin/docker system prune --force --filter "until=24h" +ExecStart=/usr/bin/docker system prune --force --filter "until=24h" --all +ExecStart=/usr/bin/docker buildx prune --force --filter "until=24h" # https://docs.docker.com/config/pruning