Closed derneuere closed 2 years ago
There is already a systemd service that does this in stable: https://github.com/guysoft/CustomPiOS/blob/devel/src/modules/docker/filesystem/root/etc/systemd/system/docker-compose.service
IMHO systemd is way better than cron because you can debug the output, it knows when to start (eg after the network) and there is a standard way to enable/disable/start/stop it.
Thanks for the clarification!
The current setup is based on docker-compose. It would be great if there was a cronjob or script to download the latest containers and prune the old ones.