Skip to main content
Make this setup one time, on an environment.
1

Make the environment

To allow some hosts, use --network allow --allow <entry>. Read Outbound.
2

Start each sandbox in it, from your server

Check it with boat network get <id>:
3

Run the code and get the results through boat

SSH and the desktop do not work on these sandboxes. Use boat exec and the file API.

Show a port of such a sandbox

Only you can publish a port, from outside the sandbox. Code inside cannot.
A published URL does not work with outbound deny or allow today. For a sandbox that must show a port, use outbound open with inbound boat-only. Read Publish a port.

Keys

  • Keep your account API key on your server. Never put it in the sandbox.
  • To give a person or a program access to one sandbox, create a key for one sandbox.
A policy does not stop every leak. Read the limits before you rely on it.