How can I access the hosts network with a docker container? Can I put a container in the hosts network with another IP from the hosts network?
Current situation:
Question:
Reason:
Note:
Setup on host:
Macvlan networks may be the solution you are looking for. You could assign multiple MAC/IP addresses on virtual NICs over single physical NIC. There are some prerequisites for using Macvlan.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.