summaryrefslogtreecommitdiff
path: root/docker/models/services.py
diff options
context:
space:
mode:
Diffstat (limited to 'docker/models/services.py')
-rw-r--r--docker/models/services.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/models/services.py b/docker/models/services.py
index 337ed44..8a633df 100644
--- a/docker/models/services.py
+++ b/docker/models/services.py
@@ -144,6 +144,8 @@ class ServiceCollection(Collection):
env (list of str): Environment variables, in the form
``KEY=val``.
hostname (string): Hostname to set on the container.
+ isolation (string): Isolation technology used by the service's
+ containers. Only used for Windows containers.
labels (dict): Labels to apply to the service.
log_driver (str): Log driver to use for containers.
log_driver_options (dict): Log driver options.
@@ -255,6 +257,7 @@ CONTAINER_SPEC_KWARGS = [
'hostname',
'hosts',
'image',
+ 'isolation',
'labels',
'mounts',
'open_stdin',