diff options
Diffstat (limited to 'docker/models/images.py')
-rw-r--r-- | docker/models/images.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/models/images.py b/docker/models/images.py index 2aae46d..82ca541 100644 --- a/docker/models/images.py +++ b/docker/models/images.py @@ -153,6 +153,10 @@ class ImageCollection(Collection): Dockerfile network_mode (str): networking mode for the run commands during build + squash (bool): Squash the resulting images layers into a + single layer. + extra_hosts (dict): Extra hosts to add to /etc/hosts in building + containers, as a mapping of hostname to IP address. Returns: (:py:class:`Image`): The built image. |