Questions tagged [docker-watchtower]

watchtower - docker container monitor and update support tool

Watchtower restart container when detects that an image of container was changed.

https://github.com/v2tec/watchtower

28 questions
9
votes
1 answer

Update docker container when new image is getting released

Except watchtower what other tools we have in order to update containers when a new image is getting released? Watchtower seems good but t does not support yet private registry other than docker hub, ie I would like to use gitlab registry.
Nick Doulgeridis
  • 583
  • 1
  • 16
  • 31
5
votes
1 answer

Getting permission denied while connecting to /var/run/docker.sock

I am trying to use watchtower container (https://containrrr.dev/watchtower/) in RHEL 8.0 using podman. Since docker is not officially supported by RHEL 8.0, I have not installed docker-engine in this VM. I have started podman.socket service and…
Jainam
  • 51
  • 1
  • 4
4
votes
2 answers

Docker watchtower with private registry

I want to run a docker watchtower to automatically upgrade my docker containers whenever I push a new version to my private registry. However, watchtower doesn't find containers in my private registry. Does anyone know how to run watchtower with a…
Benjamin Scharbau
  • 2,028
  • 1
  • 16
  • 33
3
votes
1 answer

Docker Swarm for managing headless containers, and keeping them updated (or watchtower?)

I've been trying to devise a strategy for using Docker Swarm for managing a bunch of headless containers - don't need load balancer, exposing any ports, or auto scaling. The only thing I want is the ability to update all of the containers (on all…
xil3
  • 16,305
  • 8
  • 63
  • 97
2
votes
1 answer

How to use Watchtower with ECS Fargate?

I'm trying to use watchtower on ECS Fargate. But the documentation says watchtower must bind to /var/run/docker.sock. But AFAIK ECS Fargate doesn't support that. Is there a way to use watchtower with AWS Fargate?
Diogo Melo
  • 1,735
  • 3
  • 20
  • 29
2
votes
1 answer

Docker Watchtower cannot pull new image from AWS ECR

I've installed Watchtower, and followed the docs for setting up private registry auth with auth helpers. In debug mode, I see it logging a message that auth value was obtained, but then it fails to pull image with "no basic auth credentials."…
Sergey
  • 1,181
  • 7
  • 18
1
vote
0 answers

Can't update docker containers with watchtower . "No basic auth credentials."

I have an EC2 Ubuntu 22.04.1 LTS (Jammy Jellyfish)" which should pull from AWS ECR, replace and restart running docker container whenever there is a new image in ECR. I found Watchtower for that and tried to configure it, but it didn't work out so…
1
vote
0 answers

Getting a new auth error with Docker and Watchtower

I've got a public docker container at docker.com and I'm trying to unsuccesfully get Watchtower to automatically pull when the container is updated. This worked many months ago but is not now. I created watchtower container with docker-compose (I…
Peter Kellner
  • 14,748
  • 25
  • 102
  • 188
1
vote
1 answer

Python Fast API logging with Watchtower

I have written a below code to write the logs into cloudwatch using watchtower. import os import sys import time import boto3 import watchtower import logging.handlers from scripts.config import app_configurations def fast_logging(): try: …
1
vote
1 answer

Docker Watchtower gives me an error: port is missing" providerName=docker

today at 15:09 time="2021-01-15T14:09:47Z" level=error msg="service \"watchtower-source\" error: port is missing" providerName=docker container=watchtower-source-338c650e497d25342cd554c2dcddda597a8ae1f6f1af9d38ddffa4768d51c512 ... but there isn't…
zabumba
  • 12,172
  • 16
  • 72
  • 129
1
vote
2 answers

How to manage software updates on docker-compose with one machine per user architecture?

We are deploying a Java backend and React UI application using docker-compose. Our Docker containers are running Java, Caddy, and Postgres. What's unusual about this architecture is that we are not running the application as a cluster. Each user…
greymatter
  • 840
  • 1
  • 10
  • 25
1
vote
0 answers

Auto pulling Docker container using Watchtower throws access denied when pulling from a private repo

I've got docker running on my DigitalOcean droplet and I'm trying to pull in images from my gitlab repository using watchtower. I'm using pass (sudo apt-get install pass) to manage the credentials and here is my config.json file: { "auths":…
Bravi
  • 713
  • 2
  • 8
  • 29
1
vote
1 answer

Unable to update the docker image. Error : repository does not exist or may require 'docker login''

I have deploy watchtower which automatically update running Docker containers inside Docker Swarm. I run this Docker Swarm on two AWS EC2 servers and use AWS ECR as Docker registry. to avoid aws ecr get-login I have used Amazon ECR Docker…
1
vote
1 answer

Docker container exits immediately Upon Run

I am running docker on raspberry pi zero, I am starting watchtower and my container using systemd at startup. my container it self just working if I run it with my hand or run by systemd at startup but when I push new image my private repo…
beratuslu
  • 1,101
  • 3
  • 14
  • 27
0
votes
1 answer

Pulling docker image from private registry using watchtower to multiple VPS takes too long

We have ~100 VPS machines where we use containrrr/watchtower to pull updated docker images registry.mydomain.com/image:latest). Our private registry is located on one dedicated server, it usually takes up to 2 hours to propagate the image on all…
Dave
  • 1
  • 1
1
2