Sign inSign up

theinfamoustoto/watchtower

By theinfamoustoto

Updated 10 months ago

A process for automating Docker container base image updates.

Image
Content management system
0

599

theinfamoustoto/watchtower repository overview

Custom Watchtower Image by TheInfamousToto

This is a customized version of Watchtower, designed to offer enhanced functionality and ease of use for managing your Docker containers.

Features:
  • Automatic Cleanup: By default, this image includes automatic cleanup of old containers and images, ensuring your system remains efficient without the need for manual intervention.
  • Run Every 6 Hours: The container is set to automatically run every 6 hours, checking for and updating any outdated Docker containers that need updating, without requiring any manual effort on your part.
  • Minimal Configuration: This image is pre-configured for seamless integration, so you don’t have to worry about extra configurations.
Benefits:
  • Efficient: Keeping your containers up-to-date without manual intervention and automatically cleaning up old resources reduces clutter and optimizes system performance.
  • Time-Saving: You don't have to worry about setting up schedules or configurations—this image runs every 6 hours by default, so you're always running the latest versions.
  • Easy to Use: Simply pull and deploy the image, and Watchtower will handle the rest.
How to Use:

To use this image, you can pull it from Docker Hub and run it as follows:

docker pull theinfamoustoto/watchtower
docker run -d \
  --name watchtower \
  --restart unless-stopped \
  -v /var/run/docker.sock:/var/run/docker.sock \
  theinfamoustoto/watchtower

or using Docker-Compose :

version: '3.8'

services:
  watchtower:
    image: theinfamoustoto/watchtower
    container_name: watchtower
    restart: unless-stopped
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock

This will start the Watchtower container and keep it running in the background.

For more detailed options and configurations, refer to the official Watchtower documentation.

Customization:
  • If you need to change the frequency of updates or cleanup intervals, you can adjust the settings by modifying the environment variables or command-line arguments when running the container.
  • This image is based on the original Watchtower but includes additional features tailored to those who prefer automatic cleanup and regular update cycles.
Contributing:

If you’d like to contribute to the image or have any suggestions, feel free to open an issue or submit a pull request. Contributions are always welcome!

Tag summary

Content type

Image

Digest

sha256:bda30a5cf

Size

5.4 MB

Last updated

10 months ago

docker pull theinfamoustoto/watchtower