I’ve just updated to version 2025-09c, and the default network has reappeared. Since no containers are using this network, I was wondering why it exists at all — and I think I’ve found the reason.
Because I don’t use IPv6, I previously added the following to docker-compose.override.yml (based on the documentation):
services:
ipv6nat-mailcow:
image: bash:latest
restart: "no"
entrypoint: ["echo", "ipv6nat disabled in compose.override.yml"]
Since no network is defined for this service, Docker automatically creates a default network which gets attached to it. However, the container exits right after running echo, so the network remains, even though no container actually uses it after startup.
Given that I’m now running a newer version of mailcow, can I safely remove this service from docker-compose.override.yml?
Should I also revert the other changes recommended in the old IPv6 disable instructions?