Logshark
Logshark copied to clipboard
Unhandled exception. System.BadImageFormatException
Hi! i'm trying to use Logshark on docker, in macOS, with the following command
docker run -v ~/Tableau/logs-20220523.zip:/app/logs.zip -v ~/Tableau/LogSharkDocker/Output:/app/Output logshark:latest logs.zip --plugins "Apache;Config" -p
but i'm receiving this output
Unhandled exception. System.BadImageFormatException: Could not load file or assembly '/app/LogShark.dll'. An attempt was made to load a program with an incorrect format. File name: '/app/LogShark.dll'
can anyone give me a hand with this? i'm very new to LogShark thx you!
I also got this error! Did you have any luck debugging it before?
@gilmoregrills nothing! but i will schedule this for my next week trying with the latest version! just for curiosity: why are you trying this?
same here!
Did anyone figure this out?
Was able to get it working by modifying line 6 of the Dockerfile
to specify the platform:
FROM --platform=linux/x86_64 mcr.microsoft.com/dotnet/core/runtime:3.1