Docker Community Forums

Share and learn in the Docker community.

How or when can we change the dhcp ip address inside MobyLinux?

beta

(Dsmelvin) #1

The default ip address 172.17.0.0/255.255.0.0 conflict with my company network, I pretty much get stuck here.


(Andymac4182) #2

The default in my version is 10.0.75.0/24


(Dsmelvin) #3

My DockerNAT is also 10.0.75.0/24. However, what I’m talking about here is the ip address it will use inside docker container which is 172.17.0.0/16.


(Barnumd) #4

Same issue here. Can we change the ‘docker network’ bridge subnet?


(Michael Friis) #5

Can you try creating a different network with non-conflicting subnet and attaching containers to that? https://docs.docker.com/engine/userguide/networking/#/an-overlay-network-with-docker-engine-swarm-mode


(Michael Friis) #6

I think you can also add bip in the daemon.json config in settings.

 "bip":"..."