network

has active endpoints

# docker network rm e0ef85225c22
Error response from daemon: error while removing network: network example-self-hosted_default id e0ef85225c22e4287e815a6ba13a81589f6093c00f8499aedfde0362658d70d2 has active endpoints

But there is no containers at all.

Bug in Docker. Upgrade D12 package docker-ce from 5:27.4.1-1~debian.12~bookworm to 5:28.4.0-1~debian.12~bookworm helps.