From 08f8b6cf4cf2d707814711e3a3c2d2a10855ff7d Mon Sep 17 00:00:00 2001 From: Diego Date: Tue, 10 Oct 2017 11:57:55 +0100 Subject: [PATCH] Remove default container.docker.network to allow using MESOS container engine and .networks on newer versions of marathon --- marathon/models/container.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/marathon/models/container.py b/marathon/models/container.py index 586bf40..9cadedd 100644 --- a/marathon/models/container.py +++ b/marathon/models/container.py @@ -63,7 +63,7 @@ class MarathonDockerContainer(MarathonObject): NETWORK_MODES = ['BRIDGE', 'HOST', 'USER', 'NONE'] """Valid network modes""" - def __init__(self, image=None, network='HOST', port_mappings=None, parameters=None, privileged=None, + def __init__(self, image=None, network=None, port_mappings=None, parameters=None, privileged=None, force_pull_image=None, **kwargs): self.image = image if network: