Questions tagged [watchtower]
10 questions
7
votes
1 answer
Django Watchtower connection refused when running server localhost
I am using Django watchtower to log events to AWS Cloudwatch and added logging configs in the settings file.
development.py
boto3_session = Session(
aws_access_key_id=AWS_ACCESS_KEY_ID,
aws_secret_access_key=AWS_SECRET_ACCESS_KEY,
…

Cyzanfar
- 6,997
- 9
- 43
- 81
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
1
vote
0 answers
How can watchtower avoid upgrading replicas at the same time
My web app has redundancy for high availability. How shall I configure watchtower to avoid upgrading the docker containers simultaneously, which will shut the entire site down?
Is there any solution to configure a delay for each replica so that the…

Xinxi Wang
- 11
- 1
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:
…

Harshal Taware
- 33
- 7
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
1 answer
How to set up and call 'awslogs' in docker-compose?
I have AWS EC2 with CloudWatch set up as described here.
My web server is docker-compose based one. How to it configure CloudWatch and call logging?
Note: I did not set up ECS in AWS.

Amalya E.
- 91
- 3
1
vote
1 answer
Watchtower configuration for logging python log in CloudWatch
I am developing a REST service in python which is deployed as Lambda on AWS.Initially nothing was logged on Cloud Watch CLI so i introduced watchtower.
Below is my logging.in file.
[loggers]
keys=root
[handlers]
keys=screen,…

Shubham
- 997
- 1
- 9
- 15
0
votes
0 answers
What do I need to do to make SageMaker logs show up in my CloudWatch log stream in a python project using watchtower?
I created a handler for the root logger and was expecting all the messages that I see on the terminal, including not from my own library, to be captured. However, the logs from external API calls do not get captured.
I have a setup with a web…
0
votes
0 answers
Watchtower update a not running container
Is it possible to update existing docker containers with Watchtower when a container is not running? Maybe an option to start a container via another docker compose file, update and shutdown again?

Tim
- 13
- 2
0
votes
1 answer
How Watchtower updates latest version but the specific version
I've followed the guideline here: "https://linuxacademy.com/blog/linux/using-watchtower-to-keep-your-containers-up-to-date/" to keep my containers up to date.
At the step to build Docker, I run:
docker build -t…

Kenny Tai Huynh
- 1,464
- 2
- 11
- 23