diff options
author | Joffrey F <joffrey@docker.com> | 2019-01-09 14:38:53 -0800 |
---|---|---|
committer | Joffrey F <joffrey@docker.com> | 2019-01-09 14:45:13 -0800 |
commit | a579e9e20578ca9a074b28865ff594ed02fba6b3 (patch) | |
tree | 24165632ebfe3ca707e4675b0039d31ae3830aed /docker/models/images.py | |
parent | 1073b7364846709ad005e7991045d38365d911c9 (diff) | |
download | docker-py-proxy_env_fixes.tar.gz |
Remove use_config_proxy from exec. Add use_config_proxy docs to DockerClientproxy_env_fixes
Signed-off-by: Joffrey F <joffrey@docker.com>
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 30e86f1..af94520 100644 --- a/docker/models/images.py +++ b/docker/models/images.py @@ -258,6 +258,10 @@ class ImageCollection(Collection): platform (str): Platform in the format ``os[/arch[/variant]]``. isolation (str): Isolation technology used during build. Default: `None`. + use_config_proxy (bool): If ``True``, and if the docker client + configuration file (``~/.docker/config.json`` by default) + contains a proxy configuration, the corresponding environment + variables will be set in the container being built. Returns: (tuple): The first item is the :py:class:`Image` object for the |