Begin work on context template
This commit is contained in:
@@ -269,3 +269,12 @@ class DockerModule:
|
||||
except Exception as e:
|
||||
self.logger.error(f"Error getting status for container {name}: {str(e)}")
|
||||
raise
|
||||
|
||||
def get_all_container_statuses(self) -> List[Dict[str, any]]:
|
||||
"""Get current status information for all containers.
|
||||
Returns:
|
||||
List of dictionaries with container status information
|
||||
"""
|
||||
statuses = []
|
||||
for name, (container, socket) in self.containers.items():
|
||||
statuses.append(self.get_container_status(name))
|
||||
Reference in New Issue
Block a user