1
0
mirror of https://github.com/docker/cli.git synced 2026-01-26 15:41:42 +03:00

docs/container: Update dead link

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
Paweł Gronowski
2025-12-18 13:18:19 +01:00
parent 93fa57bbcd
commit 4851066797

View File

@@ -1282,7 +1282,9 @@ connect to services running on the host machine.
It's conventional to use `host.docker.internal` as the hostname referring to
`host-gateway`. Docker Desktop automatically resolves this hostname, see
[Explore networking features](https://docs.docker.com/desktop/features/networking/networking-how-tos/#i-want-to-connect-from-a-container-to-a-service-on-the-host).
[Explore networking how-tos on Docker Desktop](https://docs.docker.com/desktop/features/networking/networking-how-tos/#connect-a-container-to-a-service-on-the-host)
and
[Configure host gateway IP](https://docs.docker.com/reference/cli/dockerd/#configure-host-gateway-ip).
The following example shows how the special `host-gateway` value works. The
example runs an HTTP server that serves a file from host to container over the