Docker Community Forums

Share and learn in the Docker community.

Would it be possible to exclude some networks when doing a docker network create


(Arthur Lutz) #1

I’m using docker-compose to spin up a number of multiple instance applications. I’m having a problem with the default networks used by docker network. Since I also use the, when docker automatically chooses this one I can’t access some machines (or vice-versa).

I know that there is a way to define specific networks in docker-compose, but I would like to stick to the auto creation of theses networks (theses docker-compose up move around quite a bit). doesn’t seem to have a system configuration (that I would expect docker daemon to read) to tell it to never try the, but that it can start at incrementing from

I guess this would touch the PredefinedBroadNetworks generated in libnetwork

(Arthur Lutz) #2

This issue is being discussed on the libnetwork’s github