From bb40635b2fe970482d98f9fb22df47df4cd2e8db Mon Sep 17 00:00:00 2001 From: Kroese Date: Sat, 6 May 2023 21:01:26 +0200 Subject: [PATCH] DHCP --- readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 139e593..53be2f7 100644 --- a/readme.md +++ b/readme.md @@ -154,9 +154,9 @@ docker run -it --rm -e "BOOT=http://www.example.com/image.iso" --device=/dev/kvm 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), add the following lines to your compose file: + 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: ``` environment: