Hello!
I am facing the same issues you are. To be able to push the log files to loki the file `/etc/docker/daemon.json` needs to be edited to include
{
"log-driver": "loki",
"log-opts": {
"loki-url": "http://localhost:3100/loki/api/v1/push",
"loki-batch-size": "400"
}
However when I restart the docker service with `/etc/rc.d/rc.docker stop` and `/etc/rc.d/rc.docker start` an error gets logged to `/var/log/docker.log` showing
unable to configure the Docker daemon with file /etc/docker/daemon.json: the following directives don't match any configuration option: loki-url, loki-batch-size
I have the docker driver installed (installed using `docker plugin install grafana/loki-docker-driver:latest --alias loki --grant-all-permissions`) and verified using `docker plugin ls`