TL;DR: This article is so far about how to disable iptables integration and choose different addressing for the ‘bridge’ (default) network.

docker default network (‘bridge’)

There are two defaults I don’t like:

  1. Default network has address space
  2. Docker is altering the iptables configuration automagically

The solution is custom /etc/docker/daemon.json file:

  "bip": "",
  "iptables": false


By default docker-compose creates dedicated network for each project. Addressing of those dedicated networks is again under prefix. This problem is fixable by forsing each service in our project to joing the default network:

version: "3.1"

    network_mode: bridge