Handle network_mode=default correctly for Docker 26.1.0+. (#936)

This commit is contained in:
Felix Fontein
2024-07-25 18:30:12 +02:00
committed by GitHub
parent 2ddadf1e2b
commit ebec16d42c
3 changed files with 20 additions and 5 deletions
@@ -533,7 +533,7 @@ class ContainerManager(DockerBaseClass):
if not match:
# No match.
if engine.ignore_mismatching_result(self.module, self.client, self.engine_driver.get_api_version(self.client),
option, image, container_value, param_value):
option, image, container_value, param_value, host_info):
# Ignore the result
continue