Integrate Loki with Podman

The documentation explains that for using Loki with Docker, one can install a plugin which grabs the filesystem equivalents of docker logs and forwards them to Loki.

So far, so good.

However, currently i am evaluating Podman as a standalone solution replacing Docker. I am aware that the main focus of all this OCI stuff is to let containers run on k8s with CRI-O, but for my use case a whole k8s environment would be oversized. However, Podman is not equipped with a plugin API, so although it is for 90% a docker replacement, i am currently unsure how to integrate Loki with Podman.

Are there any best practices?

1 Like