Try to setup Grafana loki docker server

Hi
I am new to loki and i find could solve lot of our logging issues. When i was going through loki helm charts for SSD i see all deployement constructs use same docker image. It is same with distributed too.

I was confused how single image is used for all read, write and backend pods and what config makes these different. Can someone please help me with this

Hi. What exacty is confusing about it?

Maybe an example, when you type docker build it builds a docker image, but docker run runs a docker image. It is the same executable docker. (ok, but example, because docker is client-server, so please ignore that)

It’s the same with loki executable, loki -target=distributor runs distributor, and loki -target=ingester runs ingester, and you can mix, so loki -target=ruler,compactor runs both ruler and compactor. What exactly is confusing about it?