feat: Implement session management and secure container lifecycle management

- Added session management for stateful execution in `sessions.py`, including session creation, state documentation, and cleanup of idle sessions.
- Introduced `SecureContainerManager` in `containers.py` for managing container lifecycle with security enforcement, including creation, starting, stopping, and removal of containers.
- Updated server initialization to use the new session manager.
- Enhanced container configuration to skip resource limits for very high values, indicating no enforcement.
- Improved logging capabilities for container operations in the audit logger.
- Refactored Jupyter backend to integrate with the new session management and resource limits handling.
This commit is contained in:
Hans Aschauer 2026-03-04 22:54:56 +01:00
parent 9ceeaa1eda
commit 7d9efc5a38
10 changed files with 3384 additions and 26 deletions

1448
docs/architecture2.md Normal file

File diff suppressed because it is too large Load diff