I have planing to install docker but as we know default docker networking is in NAT
mode so it has own IP on docker0
interface which is 172.17.42.x
.
I want to reconfigure networking in full bridge mode so all my container get IP address from my LAN Wireless Router
I am following this article and gave it a try, but it didn't work.
I have a question:
How container will get IP address? Or do I need to manually assign Local LAN IP address to docker container?
Or is there any best method to connect container to Local LAN do other people can access docker container?
EDIT:
If I add a bridge interface br0
and attach it to eth0
, I won't able to ping outside. I am using brctl
command to attach br0
to eth0
.