mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 20:03:11 +00:00
21 lines
483 B
Text
21 lines
483 B
Text
---
|
|
title: "Daytona"
|
|
description: "Run the daemon in a Daytona workspace."
|
|
---
|
|
|
|
## Steps
|
|
|
|
1. Create a Daytona workspace with Rust and curl available.
|
|
2. Install or build the sandbox-agent binary.
|
|
3. Start the daemon and expose port `2468` (or your preferred port).
|
|
|
|
```bash
|
|
export SANDBOX_TOKEN="..."
|
|
|
|
cargo run -p sandbox-agent -- server \
|
|
--token "$SANDBOX_TOKEN" \
|
|
--host 0.0.0.0 \
|
|
--port 2468
|
|
```
|
|
|
|
4. Use your Daytona port forwarding to reach the daemon from your client.
|