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

sql - can we replace full join with union of left and right join? why not? -

javascript - Parallax scrolling and fixed footer code causing width issues -

iOS: Performance of reloading UIImage(name:...) -