Open CasperJ opened 5 years ago
Updated my SO tags to watch :-) Vivek might know what is going on.
There's a set of known limitations with DNS on Windows 10 and Service Fabric: https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-how-to-debug-windows-containers#known-limitations-when-debugging-containers-in-service-fabric - please check these.
Might be related to #302
Hi. I tried posting my issue on Stackoverflow, but I didn't get much love there - so now I'm trying here :)
I'm playing around with Service Fabric Mesh on my local PC, but I'm struggling with internet access from within a (Windows) Container.
I'm using the standard web app template from Visual Studio 2017:
You would expect some HTML to be printed out but I get this exception:
The base docker image used is
microsoft/dotnet:2.1-aspnetcore-runtime-nanoserver-1709
and if I run:docker run microsoft/dotnet:2.1-aspnetcore-runtime-nanoserver-1709 ping google.com
then I get:When I run the Docker image directly I get:
If I do the same (
System.Diagnostics.Process.Start("ipconfig.exe", "/all");
) inside the code running in Service Fabric:As you can see 10.10.0.1 (my router/gateway is missing as a DNS Server in the last dump). How do I add that or what am I doing wrong?