# Watchtower Container-based solution for automating Docker container base image updates. > Intended to be used in homelabs, media centers, local dev environments, and such.
> **Not** recommend in commercial or production environments. 1. [TL;DR](#tldr) 1. [Further readings](#further-readings) 1. [Sources](#sources) ## TL;DR
Setup ```sh docker run -d --name 'watchtower' -v '/var/run/docker.sock:/var/run/docker.sock' 'containrrr/watchtower' ``` Docker compose: ```yaml services: watchtower: image: containrrr/watchtower volumes: - /var/run/docker.sock:/var/run/docker.sock ```
## Further readings - [Website] - [Main repository] ### Sources [main repository]: https://github.com/containrrr/watchtower/ [website]: https://containrrr.dev/watchtower/