How to use Watchtower with ECS Fargate?

304 Views Asked by At

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?

1

There are 1 best solutions below

0
mreferre On BEST ANSWER

You can't map the Docker socket in Fargate. You need to build a simple Pipeline that checks for new container images and redeploy an ECS/Fargate service when it detects a new image.

This is a good blog post if you want to go down this route.