You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Docker operations could be better abstracted into a dedicated class:
classDockerManager:
def__init__(self, workspace: str):
self.workspace=workspacedefensure_container_running(self) ->bool:
"""Ensure the tiny42 container is running."""passdefexecute_command(self, command: str) ->None:
"""Execute a command in the container."""passdefrebuild_container(self) ->None:
"""Rebuild the container from scratch."""pass
The text was updated successfully, but these errors were encountered:
The Docker operations could be better abstracted into a dedicated class:
The text was updated successfully, but these errors were encountered: