Skip to content

[refactor] Docker Operations Abstraction #7

Description

@san-ghun

The Docker operations could be better abstracted into a dedicated class:

class DockerManager:
    def __init__(self, workspace: str):
        self.workspace = workspace
        
    def ensure_container_running(self) -> bool:
        """Ensure the tiny42 container is running."""
        pass
        
    def execute_command(self, command: str) -> None:
        """Execute a command in the container."""
        pass
        
    def rebuild_container(self) -> None:
        """Rebuild the container from scratch."""
        pass

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions