Watchtower is a docker contained app that update all you docker containers automatically.
Use the following docker-compose file, to start a watchtower instance that run each day at 6am :
version: '3.8'services: watchtower: image: containrrr/watchtower container_name: watchtower command: --schedule "0 0 6 * * *" --cleanup env_file: - stack.env volumes: - /var/run/docker.sock:/var/run/docker.sock - /home/raphaelgc/.docker/config.json:/config.json restart: unless-stopped
Deprecated
Section titled “Deprecated”Since I moved to Docker swarm I now use 🐑Shepherd.