Urgent.News

What's breaking now, across hundreds of outlets.

Tech

My self-hosted Docker apps update themselves, and automating everything was a piece of cake

Manually updating dozens of Docker services was tedious until I automated the whole thing with Dockhand

My self-hosted Docker apps update themselves, and automating everything was a piece of cake

My self-hosted Docker applications have the ability to update themselves, making automating everything a straightforward task. Docker has been an integral part of my home laboratory since I first explored the self-hosting world. By providing isolated environments, Docker allows users to self-host numerous free and open-source software (FOSS) tools.

Its user-friendly ecosystem, portable images, and lightweight design make it a preferred choice over virtual machines for productivity services. However, updating containers can be challenging, particularly with services updated frequently. Previously, Watchtower was used to solve this issue, but it went out of service. Although forked versions exist, the author found an even better solution to automate container updates.

Updating containers is important due to features added by developers and to fix bugs and security vulnerabilities. Updating containers can be tedious, requiring image pulling, container removal, and deployment with the fresh image. Docker Compose setups also require manual updates of multiple compose.yml files. Automating the update process is crucial, and the web interface used for controlling container stacks has this feature built-in.

The Dockhand tool, replacing Portainer due to its shift towards Kubernetes, offers automatic updates as one of its features. Users can easily enable daily or weekly auto-updates for their containers. Dockhand allows for scheduling updates and notifying users before replacing containers with potentially faulty images. Image pruning schedules can be set to monthly for mission-critical systems and daily for non-essential services.

Dockhand also provides vulnerability analysis scans on new images and integrates with Trivy and Grype for added security. It offers Gotify-based notifications to alert users about any issues with their mission-critical applications.

Rewritten by urgent.news; may contain errors — check the original.

Source: xda-developers.com

Read the original at xda-developers.com →

Report a problem with this story

More in Tech

States Sue SpaceX Over Grok Deepfakes

The attorneys general of Oregon and Virginia are suing several of Elon Musk’s companies, alleging they implemented weak safeguards against sexualized imagery of real people, including children.

More from Monday 23 November →