且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何配置Docker容器以从ESX上运行的dhcp服务器获取DHCP IP / s

更新时间:2022-11-26 10:44:17

您将需要使用macvlan或ipvlan驱动程序创建一个docker网络。
然后,您将需要使用DHCP IPAM驱动程序(IPAM代表IP地址管理)。

You will need to create a docker network with the macvlan or ipvlan driver. Then you will need to use the DHCP IPAM driver (IPAM stands for IP Address Management).

以下是要点,其中包含有关如何操作的一些解释类似:
https://gist.github.com/nerdalert/3d2b891d41e0fa8d688c

Here is a gist with some explanations of how to do something similar: https://gist.github.com/nerdalert/3d2b891d41e0fa8d688c