error while removing network: network mynet id xyz has active endpoints
New solution skill
Fixes docker network rm failing with 'has active endpoints'. Use when you cannot remove a network because containers are still attached. Not for the network-not-found case.