How do I get the Docker container to get the IP address of an external DHCP server?

The bridge has been able to communicate with external DHCP, and the IP address of the boot container is not DHCP. Does the Docker Bridge have no gateway? 2015-07-21 add comment share it

  • Weibo
  • QZONE
  • Micro letter

Did not find the relevant results

    Invited:

    Enterprise Private Cloud Product Consultant

    We agreed from:


    The container ip is docker0 with their own network of ip randomly assigned, you can configure the docker0 from dhcp ip, but if you want to configure the ip device is currently no viable way.

    Heads up! This alert needs your attention, but it's not super important.