So i am running docker with windows container. I have created an image with my
ASP.Net web application having
microsft/iis as base image and ran it. Till this level everything is fine and good. Now this application of mine had to access some files and directory from a shared location on local network.
The container should be able to access the location as it was able to access my sql server on local network
Unable to access.
- Windows Version: Windows 10 Pro
Client: Docker Engine - Community Version: 18.09.2 API version: 1.39 Go version: go1.10.8 Git commit: 6247962 Built: Sun Feb 10 04:12:31 2019 OS/Arch: windows/amd64 Experimental: false Server: Docker Engine - Community Engine: Version: 18.09.2 API version: 1.39 (minimum version 1.24) Go version: go1.10.6 Git commit: 6247962 Built: Sun Feb 10 04:28:48 2019 OS/Arch: windows/amd64 Experimental: false
P.S. - my container is connected with
nat network, and i can’t make it external as Hyper-V doesn’t let me do it. Making a bridge of Ethernet and nat network also doesn’t resolves this solution. My Ethernet connection doesn’t shows when I run
docker network ls else i would have connected my container with it.
P.S. - I have tried with the latest version of my channel (Stable or Edge)