
In the JSON output you'll see something similar to this: "Subnet": "172.18.0.0/24", You can determine which networks are claiming which subnets by using docker network inspect 28881c0a72ad. Those "bridge" entries map to the "br-" prefixed entries seen in the ip addr listing.

#Docker find ip address how to
How to fix this?Į87ba6af1530 lando_bridge_network bridge localħd9a9e0a3797 landoproxyhyperion5000gandalfedition_edge bridge local Which will make it so that routes specified by the VPN or local network will not work. Valid_lft 85977sec preferred_lft 85977secĥ: br-05743ccfd659: mtu 1500 qdisc noqueue state DOWN group default Inet6 fe80::5b9c:a58c:5b5a:6b90/64 scope link stable-privacyĪnd then after starting docker: $ ip addr Link/ether 8c:ae:4c:f1:33:53 brd ff:ff:ff:ff:ff:ffĤ: vpn0: mtu 1300 qdisc fq_codel state UP group default qlen 500 Inet6 fe80::69fe:7762:4ecd:d5ae/64 scope link noprefixrouteģ: enx8cae4cf13353: mtu 1500 qdisc fq_codel state DOWN group default qlen 1000 Valid_lft 85363sec preferred_lft 85363sec Prior to starting docker and any containers: $ ip addrġ: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000

To determine what IP addresses docker itself is using, we can use the ip addr command to see what addresses the networking bridges claim. Looking at this above data, we can derive that the IP address between the ranges of 172.16. Connect to your VPN first then run this command. You can easily find which IP addresses are being used by your local network or VPN by using route -n. These are usually in the local networking space, which include the following:


When you start up Docker, it appropriates some IP addresses for it's own usage. It turns out a frequent culprit of this problem is Docker and it's networking mechanisms. Occasionally when accessing a client network, I encounter a situation where certain servers are not accessible despite everyone else on the team being able to access the same domain, either by HTTP or SSH.
