Docker Community Forums

Share and learn in the Docker community.

How can i assign ip's to containers from my enterprise LAN network instead of private ip's?

(Divyajyotidas) #1

OS Version:: Ubuntu 16.04.2 LTS

When i create containers, docker0 bridge assign private ips but i dont want this.
I want at runtime containers should get ip’s from my enterprise LANs. so, that everybody on network can ssh/putty to that containers.

Any help would be highly appreciable.

Thanks and Regards,
Divya Jyoti Das

(Sam) #2

this is not easy to do… we had this discussion Container with dedicated internal IP accessible from entire network back in December.

I have been trying to make this work for years without success…

docker is not intended to replace virtual machines.