From cd79acca5d28b0323f6c95a1822681e3990421d3 Mon Sep 17 00:00:00 2001 From: Allie Sadler Date: Thu, 30 Jun 2022 15:57:25 +0100 Subject: [PATCH] fix broken links --- desktop/faqs/general.md | 3 +-- desktop/previous-versions/2.x-windows.md | 2 +- desktop/windows/index.md | 2 +- desktop/windows/networking.md | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/desktop/faqs/general.md b/desktop/faqs/general.md index 4716025344..476981ac91 100644 --- a/desktop/faqs/general.md +++ b/desktop/faqs/general.md @@ -96,8 +96,7 @@ For details, see [Docker Engine API](../../engine/api/index.md). Mac, Linux, and Windows have a changing IP address (or none if you have no network access). On both Mac and Windows, we recommend that you connect to the special DNS name `host.docker.internal`, which resolves to the internal IP address used by the host. This is for development purposes and does not work in a production environment outside of Docker Desktop. -For more information and examples, see how to connect from a container to a service on the host -[on Mac](../mac/networking.md#i-want-to-connect-from-a-container-to-a-service-on-the-host) and [on Windows](../windows/networking.md#i-want-to-connect-from-a-container-to-a-service-on-the-host) or [on Linux](../linux/networking.md#i-want-to-connect-from-a-container-to-a-service-on-the-host). +For more information and examples, see [how to connect from a container to a service on the host](../networking.md#i-want-to-connect-from-a-container-to-a-service-on-the-host). ### Can I pass through a USB device to a container? diff --git a/desktop/previous-versions/2.x-windows.md b/desktop/previous-versions/2.x-windows.md index bfbea3fc54..321bfe55a7 100644 --- a/desktop/previous-versions/2.x-windows.md +++ b/desktop/previous-versions/2.x-windows.md @@ -381,7 +381,7 @@ Docker Desktop 2.4.0.0 contains a Kubernetes upgrade. Your local Kubernetes clus ### Known issues -- DockerNAT has been removed from Docker Desktop 2.2.0.0 as using an IP address to communicate from the host to a container is not a supported feature. To communicate from a container to the host, you must use the special DNS name `host.docker.internal`. We also recommend using ports to communicate from the host to a container. For more information, see [Networking](../windows/networking.md#use-cases-and-workarounds). +- DockerNAT has been removed from Docker Desktop 2.2.0.0 as using an IP address to communicate from the host to a container is not a supported feature. To communicate from a container to the host, you must use the special DNS name `host.docker.internal`. We also recommend using ports to communicate from the host to a container. For more information, see [Networking](../networking.md#use-cases-and-workarounds-for-all-platforms). However, if your current setup relies on IP addresses for communication, you can use a temporary workaround to reinstate DockerNAT. To do this, open `C:\Program Files\Docker\Docker\resources\MobyLinux.ps1` and add `$SwitchName = "DockerNAT"` between line 175 and 176. Note that the temporary workaround to reinstate DockerNAT may be removed from future releases. diff --git a/desktop/windows/index.md b/desktop/windows/index.md index 4ec3b78207..0fab0b9022 100644 --- a/desktop/windows/index.md +++ b/desktop/windows/index.md @@ -304,7 +304,7 @@ For more information on Windows containers, refer to the following documentation [forked here to use containers](https://github.com/friism/MusicStore), is a good example of a multi-container application. - To understand how to connect to Windows containers from the local host, see - [I want to connect to a container from Windows](networking.md#i-want-to-connect-to-a-container-from-windows) + [I want to connect to a container from Windows](../etworking.md#i-want-to-connect-to-a-container-from-the-host) > Settings dialog changes with Windows containers > diff --git a/desktop/windows/networking.md b/desktop/windows/networking.md index 79f739b673..999ce854a0 100644 --- a/desktop/windows/networking.md +++ b/desktop/windows/networking.md @@ -125,5 +125,5 @@ container to random ports on the host. $ docker run -d -P --name webserver nginx ``` -See the [run command](../../engine/reference/commandline/run.md) for more details on +See the [run command](../engine/reference/commandline/run.md) for more details on publish options used with `docker run`.