Skip to content

feat(server): add bundled docker compute driver#888

Draft
drew wants to merge 2 commits intofeat/supervisor-session-grpc-datafrom
drew/creating-a-docker-driver-like-the-vm-driver
Draft

feat(server): add bundled docker compute driver#888
drew wants to merge 2 commits intofeat/supervisor-session-grpc-datafrom
drew/creating-a-docker-driver-like-the-vm-driver

Conversation

@drew
Copy link
Copy Markdown
Collaborator

@drew drew commented Apr 20, 2026

Summary

Add a bundled Docker compute driver to the gateway on top of the supervisor-relay base. This lets the gateway provision sandboxes directly through the local Docker daemon without exposing sandbox ports or spawning a separate Docker driver binary.

Related Issue

N/A

Changes

  • add docker as a supported compute driver kind
  • add an in-process Docker backend in openshell-server using Bollard
  • wire Docker CLI and env config for supervisor and TLS bind mounts
  • keep Docker sandboxes as long-lived containers with no /sandbox volume
  • update architecture and support docs for the Docker backend

Testing

  • mise run pre-commit passes
  • Unit tests added/updated
  • E2E tests added/updated (if applicable)

mise run pre-commit currently fails in python:proto because grpc_tools.protoc is not installed in the local Python environment. Rust formatting and the touched crate test suites passed:

  • cargo fmt --all
  • cargo test -p openshell-server --lib
  • cargo test -p openshell-core --lib

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)
  • Architecture docs updated (if applicable)

Signed-off-by: Drew Newberry <anewberry@nvidia.com>
@drew drew self-assigned this Apr 20, 2026
@drew drew requested a review from a team as a code owner April 20, 2026 00:48
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot bot commented Apr 20, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions
Copy link
Copy Markdown

@drew drew marked this pull request as draft April 20, 2026 02:16
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant