Commit b2d9c9e2 authored by Yannick Kirschhoffer's avatar Yannick Kirschhoffer

#10: Update the initialization of the client component based on environment variables.

parent 034dd3b4
from typing import List
import docker
from docker import Client
from typing import List
class PortMapping:
......@@ -34,7 +34,7 @@ class Configuration:
class ConfigParser:
def __init__(self):
self._client = Client()
self._client = docker.from_env(assert_hostname=False)
def get_configuration(self) -> Configuration:
containers = []
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment