Why you need it?
I have tried to config the dynamic domain name to replace the configuration of "server ip",but it didn't work.
My network's environment cannot locate the explicit IP independently, and the server's run as docker container,so I have to config this to provide the service.
How it could be?
Providing the "host name" as DNS might work.And it may also enhance the containers' service in the cloud environments.
2条答案
按热度按时间au9on6nz1#
you can try to use the registry for service discovery, or provide an LB address
vsdwdz232#
The network preferences may work good for you.
#3886