This commit is contained in:
Michael Grote 2024-09-16 16:38:44 +02:00
parent abf2a3f622
commit 1d90c66947

View file

@ -4,5 +4,5 @@ Description=docker housekeeping tasks
[Service]
Type=oneshot
ExecStart=/usr/bin/docker system prune --force --filter "until=24h" --all && /usr/bin/docker buildx prune --force --filter "until=24h"
ExecStart=/bin/bash -c '/usr/bin/docker system prune --force --filter "until=24h" --all && /usr/bin/docker buildx prune --force --filter "until=24h"'
# https://docs.docker.com/config/pruning