MCPcopy Index your code
hub / github.com/agent0ai/agent-zero / __init__

Method __init__

helpers/docker.py:11–17  ·  view source on GitHub ↗
(self, image: str, name: str, ports: Optional[dict[str, int]] = None, volumes: Optional[dict[str, dict[str, str]]] = None,logger: Log|None=None)

Source from the content-addressed store, hash-verified

9
10class DockerContainerManager:
11 def __init__(self, image: str, name: str, ports: Optional[dict[str, int]] = None, volumes: Optional[dict[str, dict[str, str]]] = None,logger: Log|None=None):
12 self.logger = logger
13 self.image = image
14 self.name = name
15 self.ports = ports
16 self.volumes = volumes
17 self.init_docker()
18
19 def init_docker(self):
20 self.client = None

Callers

nothing calls this directly

Calls 1

init_dockerMethod · 0.95

Tested by

no test coverage detected