Keep Docker Containers Running On A Synology NAS Up To Date
sudo docker image prune (remove unused images on the Synology NAS) • sudo docker run -d --name watchtower --restart unless-stopped -v /var/run/docker.sock:/var/run/docker.sock -v /etc/localtime:/etc/localtime:ro -e WATCHTOWER_POLL_INTERVAL=3600 -e WATCHTOWER_CLEANUP=true containrrr/watchtower (command to setup Watchtower that will update running Docker containers automatically) sudo docker image ls (view Docker images downloaded to the Synology NAS) • sudo docker container inspect pihole | grep Image (display the image that the pihole container is using)