docker - How to make the external host IP address assigned to container hostname? -


except --net=host, there method make container's hostname bind external host ip address?

my projects need feature of port-forwarding lot, , quite containers on same node. --net=host doesn't meed requirements.

the -p hostport:containerport option made purpose. if want use same host ip in same port different applications apache virtual hosts. recommend using apache or nginx container reverse proxy using hostnames

regards


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -