From 8ef45509b666db0c96a901139e6edb0bb82671df Mon Sep 17 00:00:00 2001 From: Kroese Date: Sat, 6 May 2023 21:02:50 +0200 Subject: [PATCH] DHCP --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 25e3262..33024c0 100644 --- a/readme.md +++ b/readme.md @@ -148,7 +148,7 @@ docker run -it --rm -p 5000:5000 --device=/dev/kvm --cap-add NET_ADMIN --stop-ti Please note that this IP address won't be accessible from the Docker host due to the design of macvlan, which doesn't permit communication between the two. If this is a concern, there are some workarounds available, but they go beyond the scope of this FAQ. - * ### How can the container acquire an IP address via DHCP? + * ### How can the container acquire an IP address from my router? After configuring the container for macvlan (see above), it will now be able to join your home network by requesting an IP from your router, just like your other devices. To enable this, add the following lines to your compose file: