I am trying to assign one of my five public ip to my docker container. It seems like this should be possible due to the nature of the docker and its use. I found this site which, I think, explains what I want to do, but it doesn’t work anymore since Docker left LXC:
http://programster.blogspot.com/2014/06/docker-run-multiple-docker-websites-on.html
I tried to make a static NAT connection with ip used by my container, but this did not work. The IP address of the dock is not displayed on my routers page, but only the IP addresses of the host computers.
My questions:
Is it possible to assign a static public ip to the docker container, and if so, how?
and
Is it possible to make the IP address of the dock on my router configuration page, and if so, how?
Thanks.
source
share