Docker Community Forums

Share and learn in the Docker community.

Docker Compose Up V2 logging - Fluentd driver not working


(Nagarashish) #1

I am trying to use fluentd driver with docker compose up (version 2) but its not working. As mentioned on https://docs.docker.com/compose/compose-file/ :

logging

The default value is json-file.

driver: "json-file"
driver: “syslog”
_driver: “none” _

Note: Only the json-file driver makes the logs available directly from docker-compose up and docker-compose logs. Using any other driver will not print any logs.

Any pointers regarding using fluentd with compose up? If not supported, is there any workaround? Will it be supported in future release of Docker Compose?