Closed VahanA9 closed 1 year ago
I remember seeing this issue in Docker for Desktop on WSL. Is that your setup?
Yes , I testing in WSL
Unfortunately this can't be fixed in docker-elk. I reported this issue upstream a while ago but it never got any attention:
The issue is that Docker for Desktop does some magic with mounts to allow files to be mounted from your WSL instance, instead of the WSL instance that runs the Docker daemon. /proc/self
is a symlink which destination varies based on the process that reads it, so the magic mount mapping breaks.
On WSL I recommend disabling the features that rely on /host/proc/self/mountinfo
, such as host monitoring (which anyway don't make a lot of sense inside Docker).
Problem description
I have problems with Metricbeat Exiting: 1 error: error initializing cgroup reader: error finding mountpoints: open /hostfs/proc/self/mountinfo: no such file or directory
Docker setup