Directories
¶
| Path | Synopsis |
|---|---|
|
Basic example: create a sandbox, run a command, read its output.
|
Basic example: create a sandbox, run a command, read its output. |
|
Desktop example: build the local e2b.Dockerfile as a template, launch a sandbox, print the noVNC URL, then prove that SDK PTY sessions are mirrored into the shared tmux that the VNC desktop shows.
|
Desktop example: build the local e2b.Dockerfile as a template, launch a sandbox, print the noVNC URL, then prove that SDK PTY sessions are mirrored into the shared tmux that the VNC desktop shows. |
|
Lifecycle example: list templates, build a new one, inspect it, spawn a sandbox from it, read sandbox info, then tear everything down.
|
Lifecycle example: list templates, build a new one, inspect it, spawn a sandbox from it, read sandbox info, then tear everything down. |
|
Lifecycle example for self-hosted E2B control planes that predate the /v3/templates endpoint (≤ 2.1.x).
|
Lifecycle example for self-hosted E2B control planes that predate the /v3/templates endpoint (≤ 2.1.x). |
|
Self-hosted example: point the SDK at a self-hosted E2B control plane and show the current sandbox session (ID, template, state, timing, envd info, live metrics).
|
Self-hosted example: point the SDK at a self-hosted E2B control plane and show the current sandbox session (ID, template, state, timing, envd info, live metrics). |
|
Template example: build a simple Debian-based template and launch a sandbox from it.
|
Template example: build a simple Debian-based template and launch a sandbox from it. |
|
Interactive terminal example: open an E2B sandbox, attach the local TTY to a remote PTY (bash) in raw mode, and close the sandbox when the user exits.
|
Interactive terminal example: open an E2B sandbox, attach the local TTY to a remote PTY (bash) in raw mode, and close the sandbox when the user exits. |
Click to show internal directories.
Click to hide internal directories.