Docker Community Forums

Share and learn in the Docker community.

Unable to create customize docker0 on docker startup

docker

(Sameermodak3) #1

whenever i start my docker it gives me ip a output as below,

3: br-30d8bc51fdf5: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN
link/ether 02:42:de:54:df:fc brd ff:ff:ff:ff:ff:ff
inet 172.18.0.1/16 scope global br-30d8bc51fdf5
valid_lft forever preferred_lft forever
4: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN
link/ether 02:42:4d:6d:81:da brd ff:ff:ff:ff:ff:ff
inet 172.17.0.1/16 scope global docker0
valid_lft forever preferred_lft foreve

I want to configure my own net ip with 192. series. How to configure it??


(Raj Chaudhuri) #2

The following article has instructions for customizing the docker0 bridge: