Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions apps/web/src/app/(docs)/docs/sandbox-template/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ import cowsay
cowsay.say('Hello from E2B!')
`)

console.log(execution.stdout)
console.log(execution.logs)
```
```python {{ language: 'python' }}
from e2b_code_interpreter import Sandbox
Expand All @@ -102,7 +102,7 @@ import cowsay
cowsay.say('Hello from E2B!')
""")

print(execution.stdout)
print(execution.logs)
```
</CodeGroup>

Expand All @@ -123,4 +123,4 @@ We call this sandbox snapshot a _sandbox template_.
Snapshots are saved running sandboxes. We serialize and save the whole sandbox's filesystem together with all the running processes in a way that can be loaded later.

This allows us to load the sandbox in a few hundred milliseconds any time later with all the processes already running and the filesystem exactly as it was.
</Note>
</Note>
2 changes: 1 addition & 1 deletion packages/cli/src/docker/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export const defaultDockerfileName = 'e2b.Dockerfile'
export const fallbackDockerfileName = 'Dockerfile'

export const basicDockerfile = `# You can use most Debian-based base images
FROM ubuntu:22.04
FROM e2bdev/code-interpreter:latest

# Install dependencies and customize sandbox
`
Loading