Skip to content

Commit d66c7e4

Browse files
committed
Match Python Sandbox pattern with other templates
1 parent 32a1c64 commit d66c7e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/template/examples/docker.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ sbx.kill()
8282
# sandbox.py
8383
from e2b import Sandbox
8484

85-
sbx = Sandbox.create('docker')
85+
sbx = Sandbox('docker')
8686

8787
result = sbx.commands.run('sudo docker run --rm alpine echo "Hello from Alpine!"')
8888
print(result.stdout)

0 commit comments

Comments
 (0)