elk-detection-lab icon indicating copy to clipboard operation
elk-detection-lab copied to clipboard

Installing on Windows with Docker (WSL2 backend)

Open 0xhido opened this issue 5 years ago • 1 comments

Hey, I'm trying to install the lab on my Windows machine but getting these errors on the loader and filebit containers:

Loader:

standard_init_linux.go:211: exec user process caused "no such file or directory"

Filebit:

2020-07-17T19:52:58.401Z INFO [monitoring] log/log.go:154 Uptime: 49.8493ms

2020-07-17T19:52:58.401Z INFO [monitoring] log/log.go:131 Stopping metrics logging.

2020-07-17T19:52:58.401Z INFO instance/beat.go:445 filebeat stopped.

2020-07-17T19:52:58.402Z ERROR instance/beat.go:933 Exiting: 1 error: invalid config: config file ("/usr/share/filebeat/modules.d/suricata.yml") can only be writable by the owner but the permissions are "-rwxrwxrwx" (to fix the permissions use: 'chmod go-w /usr/share/filebeat/modules.d/suricata.yml')

Exiting: 1 error: invalid config: config file ("/usr/share/filebeat/modules.d/suricata.yml") can only be writable by the owner but the permissions are "-rwxrwxrwx" (to fix the permissions use: 'chmod go-w /usr/share/filebeat/modules.d/suricata.yml')

Do you have any clue how to fix it?

0xhido avatar Jul 17 '20 19:07 0xhido

https://nickjanetakis.com/blog/a-linux-dev-environment-on-windows-with-wsl-2-docker-desktop-and-more this will solve your problem.

MahmoudShoair avatar Nov 17 '21 14:11 MahmoudShoair