STUB DOCUMENT: This page is intentionally minimal and will be expanded with deeper technical details in a future update.
A Cyberwave driver is a Docker image that interacts with device hardware and the Cyberwave backend.
How to use drivers
Register a driver by adding its configuration to a twin’s metadata (or the catalog twin’s metadata if you control the catalog twin). Use the environment view’s Advanced editing to edit metadata.
Note: changing a catalog twin’s metadata affects all subsequently created digital twins derived from that catalog twin.
Example driver metadata (JSON):
{
"drivers": {
"default": {
"docker_image": "cyberwaveos/so101-driver",
"version": "0.0.1",
"params": ["--network", "local", "--add-host", "host.docker.internal:host-gateway"]
}
}
}
Manage edge driver containers:
| Subcommand | Description |
|---|
list | List running driver containers (--all includes exited) |
start | Start a stopped driver container |
stop | Stop a running driver container |
macOS hardware bridge (stub)
When Edge Core runs on macOS, Linux --device mappings in Docker params cannot
directly expose host camera/serial hardware to driver containers. Use a host
bridge process and forward into Docker via host.docker.internal.
- Optional host hook env var:
CYBERWAVE_MACOS_DEVICE_BRIDGE_COMMAND
- Command template variables:
{host_device}, {container_device}, {twin_uuid}, {container_name}, {config_dir}
- Bridge command can return a resolved source (
resolved_device=... or JSON) so
Edge Core can inject CYBERWAVE_METADATA_VIDEO_DEVICE automatically.
- Optional macOS behavior:
CYBERWAVE_MACOS_STRIP_VIDEO_DEVICE_PARAMS=true removes Linux-only
--device /dev/video* mappings before container start when a non-/dev
source is resolved.
- For camera twins, Edge Core can derive default macOS camera bridge candidates
even without explicit
--device params, enabling minimal default driver
metadata to work.
- Use platform-specific driver keys in
metadata.drivers (for example
darwin-arm64, darwin, macos) to provide macOS-specific params while
keeping default for Linux.