Updated 08. Setting up and Deploying eShopOnContainers to Windows Containers (markdown)
parent
a08e7430a3
commit
7da3a41ef3
@ -27,7 +27,7 @@ Then right click in the Docker icon on the notification bar and select the optio
|
||||
|
||||
Due to a default NAT limitation in current versions of Windows (see [https://blog.sixeyed.com/published-ports-on-windows-containers-dont-do-loopback/](https://blog.sixeyed.com/published-ports-on-windows-containers-dont-do-loopback/)) you can't access your containers using `localhost` from the host computer.
|
||||
|
||||
Although that limitation has been removed beginning with Build 17025 (still only available today to Windows Insiders, not public/stable release). With that version, access to published container ports via “localhost”/127.0.0.1 is available.
|
||||
Although that [limitation has been removed beginning with Build 17025](https://blogs.technet.microsoft.com/networking/2017/11/06/available-to-windows-10-insiders-today-access-to-published-container-ports-via-localhost127-0-0-1/) (as of early 2018, still only available today to Windows Insiders, not public/stable release). With that version, access to published container ports via “localhost”/127.0.0.1 is available.
|
||||
|
||||
Until you can use newer build of Windows 10 or Windows Server 2016, instead of localhost you can use either an IP address from the host's network card of (for example, let's suppose you have the 192.168.0.1 address) or you could also use the DockerNAT IP address, that is `10.0.75.1`. If you don't have that IP (`10.0.75.1`) shown when you get the info with `ipconfig`, you'll need to switch to Linux Containers so it creates that Docker NAT and then go back to Windows Containers (right click on Docker icon on the task bar).
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user