[Unit] Description=Prune dangling docker images (Watchtower leaves them behind) After=docker.service Requires=docker.service [Service] Type=oneshot ExecStart=/usr/bin/docker image prune -af