mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
DHCP
This commit is contained in:
parent
e250830592
commit
ad1ab7bd94
@ -150,7 +150,7 @@ docker run -it --rm -p 5000:5000 --device=/dev/kvm --cap-add NET_ADMIN --stop-ti
|
||||
|
||||
* ### How can the container acquire an IP address via DHCP?
|
||||
|
||||
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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user