You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 18, 2018. It is now read-only.
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.
Dockerfile
FROM microsoft/dotnet:2.1-sdk-alpine
RUN apk update
&& apk add libuv
#Set the Working Directory
WORKDIR /app
#Configure the listening port to 80
ENV ASPNETCORE_URLS http://*:80
EXPOSE 80
#Start the app
ENTRYPOINT ["dotnet", "mycode.dll"]
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.
The text was updated successfully, but these errors were encountered:
We worked around this in the microsoft/aspnetcore docker image already (currently in nightlies only via microsoft/aspnetcore-nightly:2.1.0-preview2-alpine
# Workaround https://github.com/aspnet/libuv-package/issues/23# Install libuv globally and link it so coreclr can laod itRUN apk add --no-cache libuv \
&& ln -s /usr/lib/libuv.so.1 /usr/lib/libuv.so
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.
Dockerfile
FROM microsoft/dotnet:2.1-sdk-alpine
RUN apk update
&& apk add libuv
#Set the Working Directory
WORKDIR /app
#Configure the listening port to 80
ENV ASPNETCORE_URLS http://*:80
EXPOSE 80
#Start the app
ENTRYPOINT ["dotnet", "mycode.dll"]
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.
The text was updated successfully, but these errors were encountered: