Identifying Existing Docker Subnets

To display all configured Docker network subnets:

docker network inspect $(docker network ls -q) | grep Subnet

You can also list available Docker networks:

docker network ls

Inspect a specific network:

docker network inspect <network_name>

Example:

docker network inspect bridge

Choosing a Free Subnet

Each interconnect network must use a unique subnet.

Example:

docker network create \
--driver=bridge \
--subnet=192.168.18.0/24 \
--internal \
rac_eth1priv2_nw
docker network create \
--driver=bridge \
--subnet=192.168.19.0/24 \
--internal \
rac_eth2priv2_nw

If those ranges are already in use, consider:

192.168.50.0/24
192.168.60.0/24
10.10.10.0/24
10.20.20.0/24
This entry was posted in Oracle on by .
Unknown's avatar

About SandeepSingh

Hi, I am working in IT industry with having more than 15 year of experience, worked as an Oracle DBA with a Company and handling different databases like Oracle, SQL Server , DB2 etc Worked as a Development and Database Administrator.

Leave a Reply