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
{{ message }}
Repository navigation
Commit 5e6241d
Browse filesBrowse the repository at this point in the historyBrowse files
| Private named volumes | One carries the authenticated sandbox/supervisor channel. The other is mounted only into the supervisor and contains its JWT and private gateway credentials. |
80
80
| In-memory `/run/openshell-supervisor-ca` tmpfs | Holds only the public supervisor CA certificate and trust bundle without making all of `/run` writable. |
81
81
| CDI GPU request | Assigns the exact validated CDI devices requested by driver config or count-based selection. |
82
+
| CDI workload projection | For GPU sandboxes only, embeds selected device metadata in the protected boundary config and mounts Docker daemon CDI spec directories read-only into the workload. |
82
83
83
84
## Stop, Start, and Delete
84
85
@@ -92,6 +93,20 @@ Delete force-removes both containers, the driver-owned runtime volumes, and the
92
93
host-private runtime descriptor. Missing or altered descriptor and channel resources
93
94
fail closed; the driver does not run an older combined-supervisor layout.
94
95
96
+
## CDI GPU Metadata
97
+
98
+
Docker remains the source of truth for GPU injection. The driver selects opaque
99
+
CDI device IDs from `driver_config.cdi_devices` or the daemon's discovered CDI
100
+
inventory, then passes the same IDs to Docker with a CDI `DeviceRequest`.
101
+
102
+
For a GPU sandbox, the driver writes those IDs and projected CDI spec directory
103
+
paths to a versioned context in the protected workload boundary configuration.
104
+
It bind-mounts the daemon-reported spec directories read-only into the workload.
105
+
The sandbox runtime resolves the selected devices in that mount namespace before
106
+
it launches agent processes and derives Landlock paths and supplemental groups
107
+
from CDI `containerEdits`. A missing context or spec directory fails workload
108
+
startup closed. Non-GPU sandboxes receive no CDI context or spec mounts.
109
+
95
110
## Driver Config Mounts
96
111
97
112
The gateway forwards the `docker` block from `--driver-config-json`. Supported
0 commit comments