ansible-role-docker/files/docker-prune-dangling-image...

5 lines
88 B
Bash

#!/usr/bin/env bash
docker image prune --force > /var/log/docker-prune.log 2>&1
exit 0