diff --git a/compose/network.py b/compose/network.py index 0f42eb20a..2e0a7e6ec 100644 --- a/compose/network.py +++ b/compose/network.py @@ -79,6 +79,7 @@ class Network(object): enable_ipv6=self.enable_ipv6, labels=self._labels, attachable=version_gte(self.client._version, '1.24') or None, + check_duplicate=True, ) def remove(self):