From 439741578140608fbdf86d7b4c4be160390060a6 Mon Sep 17 00:00:00 2001 From: Andrew Fitzgerald <131809+fitzoh@users.noreply.github.com> Date: Wed, 15 Jan 2020 22:44:41 -0500 Subject: [PATCH] Add note on using Loki with ECS (#1531) --- docs/clients/docker-driver/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/clients/docker-driver/README.md b/docs/clients/docker-driver/README.md index ad8be5b9be6f2..b3fc90e9c77f4 100644 --- a/docs/clients/docker-driver/README.md +++ b/docs/clients/docker-driver/README.md @@ -52,3 +52,8 @@ To cleanly uninstall the plugin, disable and remove it: docker plugin disable loki docker plugin rm loki ``` + +## Amazon ECS +The Docker driver is not currently supported on [Amazon ECS](https://aws.amazon.com/ecs/), although you can work around this if you are using EC2 based ECS (as opposed to Fargate based ECS). +The solution suggested in the [LogConfiguration Documentation](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_LogConfiguration.html) is to fork the ECS agent and modify it to work with your log driver of choice. +The other option is to configure the Loki Docker driver as the default Docker logging driver, and then specify no logging configuration within the ECS task.