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 has been archived by the owner on Nov 16, 2023. It is now read-only.
I'm trying to call a service on the container host machine (for local dev environment only, not production). Other images, like microsoft/nanoserver allow me to ping host.docker.internal, but the microsoft/aspnet:4.7.2-windowsservercore-1803 image just returns the following error:
PS C:\inetpub\wwwroot> ping host.docker.internal
Ping request could not find host host.docker.internal. Please check the name
I'm trying to call a service on the container host machine (for local dev environment only, not production). Other images, like
microsoft/nanoserver
allow me to ping host.docker.internal, but themicrosoft/aspnet:4.7.2-windowsservercore-1803
image just returns the following error:Here is my dockerfile:
How do I call the host machine from my docker container? I'm using the default 'nat' network. Running on a Windows 10 laptop.
The text was updated successfully, but these errors were encountered: