MCPcopy Create free account
hub / github.com/QuantGeekDev/docker-mcp / __init__

Method __init__

src/docker_mcp/docker_executor.py:38–40  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

36
37class DockerExecutorBase(ABC):
38 def __init__(self):
39 self.docker_cmd = self._initialize_docker_cmd()
40 self.executor = WindowsExecutor() if platform.system() == 'Windows' else UnixExecutor()
41
42 @abstractmethod
43 async def run_command(self, command: str, *args) -> Tuple[int, str, str]:

Callers 1

__init__Method · 0.45

Calls 3

WindowsExecutorClass · 0.85
UnixExecutorClass · 0.85

Tested by

no test coverage detected