Ship Docker Logs to Loki
- Install the Loki driver plugin
docker plugin \ install \ grafana/loki-docker-driver:latest \ --alias loki \ --grant-all-permissions
- Change logger per container
docker run \ --log-driver=loki \ --log-opt loki-url="LOKI_URL/loki/api/v1/push" \ IMAGE