Quick Watchtower Install and its Basic Maintinence Script
Watchtower Installation Script:
docker run -d \
--name watchtower \
-v /var/run/docker.sock:/var/run/docker.sock \
containrrr/watchtowerWatchtower Maintinence Script:
To install Crontab, enter the following command:
sudo apt-get install cronThen, enter the following command:
crontab -eInsert the following line:
0 0 * * * /usr/bin/docker system prune -af