How to setup Grafana loki promtail using Docker compose
- Create a file in
/etc/docker/daemon.json
and add in the following config
{
"debug" : true,
"log-driver": "loki",
"log-opts": {
"loki-url": "http://loki:3100/loki/api/v1/push",
"loki-batch-size": "400"
}
}
https://grafana.com/docs/loki/latest/send-data/docker-driver/#known-issue-deadlocked-docker-daemon