Folder with file and logs are present.
Loki is working as docker container and ports are mapped to the host
(I changed slashes in the other direction - the result is the same)
I use Windows with Russian locale and MacBook - the problem is on both OS
Troubleshooting Promtail is not useful - I use promtail as docker container, but this section describes the flags for running the program in the CLI not in docker. it describes the problems of processing logs and not the problem of discovering them
@budarin you mention you are running docker containers on both Mac and Windows, in both of these environments Docker runs in a virtual machine so you would have to mount the paths on the local filesystem into the container as a volume to be able to access any files. I’m wondering if this is the issue you are seeing?
So promtail do not work in docker on Windows and Mac, am I right?
No this is not correct, it should work.
However because docker runs in a virtual machine on these operating systems (unless you are using docker windows images but this is a different story, or WSL2 which is a little different story too), you will have to volume mount the local paths into the promtail container for promtail to access them.
I have the same problem using promtail as a sidecar, I can see the content of log files in the promtail container but promtail says no files matched requested path, nothing will be tailed and target page in the promtail’s UI is empthy