Docker Community Forums

Share and learn in the Docker community.

Set a specific address ip when i create the container


(Osamaorange) #1

Hi,

when i run my container i want’t to set a specific container’s IP address in the same LAN.

Is that possible ?
Also after the creation can i edit DHCP ip address ?
Thanks


(Terence88) #2

Hi Bro, i’m having the same issue as would someone to contribute this ideas for this setting in screen shots or videos to follow!


(Terence88) #3

To my finding and curious,
if you go to

/sys/devices/virtual/net/docker0
cat ‘address’ is the location stored the mac address of docker0
this address is from the mac address xx:xx:xx:xx from the main host screen by keying command ifconfig

Still research and findings…