Search code examples
aws-fargatedocker-watchtowerwatchtower

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?


Solution

  • 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.