mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-10 18:56:30 +00:00
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:
parent
11e3c0c547
commit
ca376b3fcd
@ -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
|
||||
)
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user