summaryrefslogtreecommitdiff
path: root/docker/models/images.py
diff options
context:
space:
mode:
authorJoffrey F <joffrey@docker.com>2018-03-22 09:51:10 +0100
committerJoffrey F <joffrey@docker.com>2018-03-22 14:07:18 +0100
commit77c977bce75d028d03dbde85ede053a1dddc017e (patch)
tree3d918d095ec029618752fdaa73794c8c1de2ff9f /docker/models/images.py
parent7a28cad58ec7c279b91c75a3aa701bb89e0e75cd (diff)
downloaddocker-py-build_isolation.tar.gz
Add isolation param to buildbuild_isolation
Signed-off-by: Joffrey F <joffrey@docker.com>
Diffstat (limited to 'docker/models/images.py')
-rw-r--r--docker/models/images.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/models/images.py b/docker/models/images.py
index d4c2813..bb24eb5 100644
--- a/docker/models/images.py
+++ b/docker/models/images.py
@@ -164,6 +164,8 @@ class ImageCollection(Collection):
extra_hosts (dict): Extra hosts to add to /etc/hosts in building
containers, as a mapping of hostname to IP address.
platform (str): Platform in the format ``os[/arch[/variant]]``.
+ isolation (str): Isolation technology used during build.
+ Default: `None`.
Returns:
(tuple): The first item is the :py:class:`Image` object for the