Update docker-py to 3.7.0 (#882)

* Update docker-py to 3.7.0

* Update __init__.py

* Update addon.py
This commit is contained in:
Pascal Vizeli 2019-01-14 20:04:27 +01:00 committed by GitHub
parent 11e3c0c547
commit ca376b3fcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 2 deletions

View File

@ -65,7 +65,8 @@ class DockerAPI:
# Create container
try:
container = self.docker.containers.create(image, **kwargs)
container = self.docker.containers.create(
image, use_config_proxy=False, **kwargs)
except docker.errors.DockerException as err:
_LOGGER.error("Can't create container from %s: %s", name, err)
return False
@ -101,6 +102,7 @@ class DockerAPI:
image,
command=command,
network=self.network.name,
use_config_proxy=False,
**kwargs
)

View File

@ -320,6 +320,7 @@ class DockerAddon(DockerInterface):
_LOGGER.info("Start build %s:%s", self.image, tag)
try:
image, log = self.sys_docker.images.build(
use_config_proxy=False,
**build_env.get_docker_args(tag))
_LOGGER.debug("Build %s:%s done: %s", self.image, tag, log)

View File

@ -1,7 +1,7 @@
attrs==18.2.0
async_timeout==3.0.1
aiohttp==3.5.2
docker==3.5.0
docker==3.7.0
colorlog==3.1.4
voluptuous==0.11.5
gitpython==2.1.10