Update docs for host net IPv6 support (#20473)

This commit is contained in:
Andreas Heck 2024-07-25 17:04:45 +02:00 committed by GitHub
parent 6796600e3c
commit f5d707730d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -85,14 +85,14 @@ $ nc localhost 80
### Limitations ### Limitations
- Processes inside the container cannot bind to the IP addresses of the host
because the container has no direct access to the interfaces of the host.
- 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 unlike with Docker on Linux, network protocols that operate below TCP or UDP are
not supported. not supported.
- This 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 isolating your containers from the host and allowing them access to the host
network contradict each other. 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 ## Next steps