I'm new to Docker and I've set up slskd in a Docker container. I heard about Watchtower, which is supposed to keep Docker containers updated, and I think I got it running since I see it listed when I run `sudo docker ps`. However, I'm unsure about how it actually works. Does Watchtower automatically update all running containers, or do I need to configure it for each one individually? Any insights on how to ensure my containers stay up-to-date would be greatly appreciated!
3 Answers
Just a heads up, automatic updates can sometimes lead to breaking changes if a developer pushes an update that messes things up. If you're only running one container, the risk might be low, but keep it in mind! Someone suggested Dockwatch to me as an alternative for more control, though its documentation isn't great.
I've set up Watchtower on a few machines and configured it to send me email alerts without auto-updating the containers automatically. This way, I get informed about updates but can manually handle them myself. It lets me stay in control and avoid any surprises!
Watchtower does monitor all your running containers by default. However, you might want to check out the environmental variables available for customization in the documentation. These allow you to tweak it to your needs! You can find the options here: https://containrrr.dev/watchtower/arguments/.
Related Questions
How To Get Your Domain Unblocked From Facebook
How To Find A String In a Directory of Files Using Linux