From d52d81ee4514140595824a2c336d1a46eb1c6d2a Mon Sep 17 00:00:00 2001 From: Andreas Heck Date: Mon, 22 Apr 2024 14:44:12 +0200 Subject: [PATCH 1/2] Add note regarding IPv6 and address 127.0.0.1 for host networking --- content/network/drivers/host.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/content/network/drivers/host.md b/content/network/drivers/host.md index 8d687165415a..1b2d35ec9b2a 100644 --- a/content/network/drivers/host.md +++ b/content/network/drivers/host.md @@ -85,13 +85,14 @@ $ nc localhost 80 ### Limitations -The host network feature of Docker Desktop works on layer 4. This means that +- The host network feature of Docker Desktop works on layer 4. This means that unlike with Docker on Linux, network protocols that operate below TCP or UDP are not supported. - -Also, the feature doesn't work with Enhanced Container Isolation enabled, since +- This feature doesn't work with Enhanced Container Isolation enabled, since isolating your containers from the host and allowing them access to the host network contradict each other. +- IPv6 is not yet supported. Services need to use IPv4 and bind to address + 127.0.0.1 in the container to be visible on the host. ## Next steps From d81531ac0b410ba1bbf7ff841b548202c98a2b7b Mon Sep 17 00:00:00 2001 From: Allie Sadler <102604716+aevesdocker@users.noreply.github.com> Date: Mon, 22 Apr 2024 14:33:36 +0100 Subject: [PATCH 2/2] Update content/network/drivers/host.md --- content/network/drivers/host.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/network/drivers/host.md b/content/network/drivers/host.md index 1b2d35ec9b2a..0b0af9f186fb 100644 --- a/content/network/drivers/host.md +++ b/content/network/drivers/host.md @@ -92,7 +92,7 @@ not supported. isolating your containers from the host and allowing them access to the host network contradict each other. - IPv6 is not yet supported. Services need to use IPv4 and bind to address - 127.0.0.1 in the container to be visible on the host. + `127.0.0.1` in the container to be visible on the host. ## Next steps