Is there a way to tell docker to not use some specific network when runing docker-compose up?
I am using some out of the box examples (hyperledger) and each time docker takes an address that breaks my remote connection.
[xxx@xxx fabric]$ docker network inspect some_network
[
{
"Name": "some_network",
"Id": "xxx",
"Scope": "local",
"Driver": "bridge",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": null,
"Config": [
{
"Subnet": "172.30.0.0/16",
"Gateway": "172.30.0.1/16"
}
]
},
"Internal": false,
"Containers": {},
"Options": {},
"Labels": {}
}
]
What I would like is to tell docker (without editing the docker-compose.yaml file) to never use the network 172.30.0.0/16.