Hi Guys I need setup bridge static IP in docker container, So pls help me out how to assign static IP in my docker container.
Regards
Bhupendra
Hi Guys I need setup bridge static IP in docker container, So pls help me out how to assign static IP in my docker container.
Regards
Bhupendra
docker network create --subnet=172.18.0.0/16 customNet
docker run -ti .... --net customNet --ip 172.18.0.22 ....
I need to create first network then I can able to assign static IP but I n my case i want to setup bridge network IP, So is it possible.
Am I understanding it correctly that you want a container to get an ip from the DHCP?
because “docker network create --subnet=172.18.0.0/16 customNet”, would create a local bridge