Skip to content

Commit f135652

Browse files
authored
Merge pull request #6715 from vvoland/work-docs
docs/container: Fix dead docs reference
2 parents 93fa57b + 4851066 commit f135652

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/reference/commandline/container_run.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1282,7 +1282,9 @@ connect to services running on the host machine.
12821282

12831283
It's conventional to use `host.docker.internal` as the hostname referring to
12841284
`host-gateway`. Docker Desktop automatically resolves this hostname, see
1285-
[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).
1285+
[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)
1286+
and
1287+
[Configure host gateway IP](https://docs.docker.com/reference/cli/dockerd/#configure-host-gateway-ip).
12861288

12871289
The following example shows how the special `host-gateway` value works. The
12881290
example runs an HTTP server that serves a file from host to container over the

0 commit comments

Comments
 (0)