Minor README clarifications.

This commit is contained in:
Dan Helfman 2022-06-14 20:29:28 -07:00
parent 577a1d6c6d
commit 1046e8f036
1 changed files with 5 additions and 4 deletions

View File

@ -66,11 +66,12 @@ echo 00:00:0a:bb:28:fc | nc -N host.docker.internal 18888
This example uses the OpenBSD netcat variant to send a TCP packet containing This example uses the OpenBSD netcat variant to send a TCP packet containing
the requested MAC address to wake. The packet is sent to port 18888 on the the requested MAC address to wake. The packet is sent to port 18888 on the
host. host, where this container should be listening.
For this to work, you may need to configure your client container to support For this to work, you may need to configure your client container (the one
the special `host.docker.internal` host. E.g., `docker run --add-host running the `echo` command) to support the special `host.docker.internal`
host.docker.internal:host-gateway ...`. Or, with Docker Compose: host. E.g., `docker run --add-host host.docker.internal:host-gateway ...`. Or,
with Docker Compose:
```yaml ```yaml
extra_hosts: extra_hosts: