Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Update docs with the new CLI command
Tomas Valenta97fe4e61961c
diff --git a/apps/docs/src/app/cli/commands/page.mdx b/apps/docs/src/app/cli/commands/page.mdxindex 17fa4dcd5..fdd332f39 100644--- a/apps/docs/src/app/cli/commands/page.mdx+++ b/apps/docs/src/app/cli/commands/page.mdx@@ -170,6 +170,30 @@ Running `e2b shell` without specifying a template with the `[template]` argument</Option></Options>+---++## `connect`++Connects your terminal to a running sandbox that you spawned via the E2B SDK.+This command is useful if you need to debug a running sandbox.+It works similar to the `docker exec -it <container> bash` command.++```bash+e2b connect <sandboxID>+```++<Note>+You can use `e2b list` to get a list of running sandboxes and their IDs that can be used with `e2b connect <sandboxID>` command.+</Note>++#### **Arguments**++<Options>+ <Option type="<sandboxID>">+ Specify the ID of a running sandbox you want to connect to.+ </Option>+</Options>+### Next steps1. [Create your first sandbox template](/sandbox/templates/overview)