Open dtma007 opened 7 years ago
This might be caused by Docker container network issue.
I've been experimenting more with this by commenting out the section of the "Dockerfile.windows" where the failure was occurring. (eg. "RUN dotnet restore --runtime win10-x64 .\samples\MusicStore") After the docker image was created, I started the container "docker run -it dotnetmusicstore_web powershell".
I noticed that from within the container, I cannot ping outside (eg. "ping google.com" or "ping 8.8.8.8")
I'm still not sure why networking would not work though.
]
docker network ls
NETWORK ID NAME DRIVER SCOPE
a24abce6fc4d nat nat local
2a89a18476aa none null local
Which lab is it that you're having issues with? https://github.com/docker/labs/blob/master/windows/windows-containers/MultiContainerApp.md
Description The lab is failing for me on this step: docker-compose -f .\docker-compose.windows.yml build
Error
Steps to reproduce the issue, if relevant:
Describe the results you received: On Step 9, I got this error:
Describe the results you expected: I expected the command to run successfully.
Additional information you deem important (e.g. issue happens only occasionally): I also occasionally got another timeout error on earlier steps of the same command (for example on step "COPY version.props ."). However, with re-running, this error will go away.
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, Docker for Mac, Docker for Windows, VirtualBox, physical, etc.): Reproduced on multiple Windows 2016 machines 1) Windows 2016 Server (VM on SoftLayer) 2) Windows 2016 Server (Bare metal machine on SoftLayer)