mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-04-28 11:40:47 +00:00
readme update, docker update, small changes
This commit is contained in:
parent
a3ad965545
commit
76fe115aeb
10 changed files with 20 additions and 7 deletions
|
|
@ -34,6 +34,8 @@ class DockerContainerManager:
|
|||
print(f"Starting existing container: {self.name} for safe code execution...")
|
||||
existing_container.start()
|
||||
self.container = existing_container
|
||||
time.sleep(2) # this helps to get SSH ready
|
||||
|
||||
else:
|
||||
self.container = existing_container
|
||||
# print(f"Container with name '{self.name}' is already running with ID: {existing_container.id}")
|
||||
|
|
@ -48,4 +50,4 @@ class DockerContainerManager:
|
|||
)
|
||||
atexit.register(self.cleanup_container)
|
||||
print(f"Started container with ID: {self.container.id}")
|
||||
time.sleep(1) # this helps to get SSH ready
|
||||
time.sleep(2) # this helps to get SSH ready
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue