Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Unable to load DLL 'libuv': The specified module or one of its dependencies could not be found. #2415
I'm building my docker image using the alpine docker image and I get this message when I run the docker container on linux. The code works on windows outside of docker.
RUN apk update
#Set the Working Directory
#Configure the listening port to 80
#Start the app
I tried adding Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv but it didn't make any difference. I also commented out the entry point and ran the container, went into the container and verified that libuv was install. Then, I ran the app inside the container and got the same error.
Known issue - aspnet/libuv-package#23.
We worked around this in the microsoft/aspnetcore docker image already (currently in nightlies only via
# Workaround https://github.com/aspnet/libuv-package/issues/23 # Install libuv globally and link it so coreclr can laod it RUN apk add --no-cache libuv \ && ln -s /usr/lib/libuv.so.1 /usr/lib/libuv.so