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
Copy file name to clipboardExpand all lines: docs/reference/sandbox-compute-drivers.mdx
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,6 +75,18 @@ The gateway uses the VM compute driver to create VM-backed sandboxes. MicroVM re
75
75
76
76
For maintainer-level implementation details, refer to the [VM driver README](https://github.com/NVIDIA/OpenShell/blob/main/crates/openshell-driver-vm/README.md).
77
77
78
+
### Enable the VM Driver
79
+
80
+
The VM driver is opt-in. Release packages can install `openshell-driver-vm`, but the gateway does not select it unless you configure the driver explicitly.
81
+
82
+
For a one-off gateway process, pass `--drivers vm`:
83
+
84
+
```shell
85
+
openshell-gateway --drivers vm
86
+
```
87
+
88
+
For a service, set `OPENSHELL_DRIVERS=vm` in the service environment file and restart the service. Homebrew creates `$(brew --prefix)/var/openshell/gateway.env` with a commented `OPENSHELL_DRIVERS=vm` entry. Debian and RPM user services read `~/.config/openshell/gateway.env`.
89
+
78
90
| Option | Environment variable | Description |
79
91
|---|---|---|
80
92
|`--drivers vm`|`OPENSHELL_DRIVERS=vm`| Select the VM compute driver. VM is never auto-detected. |
0 commit comments