Interview Prep/Docker/Networking and Compose

Docker's default subnet collides with the company VPN.

IntermediateScenarioNetworking and Compose
Answer

Situation read → 172.17.0.0/16 or auto-assigned 172.18+ overlap with corporate ranges and break routing.

What I'd do → Change in /etc/docker/daemon.json:

{
  "bip": "10.200.0.1/24",
  "default-address-pools": [{"base": "10.201.0.0/16", "size": 24}]
}

Restart docker and recreate networks.

Why → Pool applies to new networks; existing ones keep the old subnet.

Interview tip → Plan address space with the network team up front.

All Docker questions Roadmap: Docker & containers

More on Networking and Compose