Skip to content

Start command

When building a sandbox template, you can use the -c option to define a start command.

Tip: The command specified with -c will be executed automatically whenever a sandbox based on this template is started.

agentbox template build --platform linux_x86 -c "<your-start-command>"

You can also define the start command inside the agentbox.toml file, as follows:

# This is a config for AgentBox sandbox template
platform = "linux_x86"
team_id = "b0ba29e3-ca55-4368-b62e-07999bdfcfbe"
dockerfile = "agentbox.Dockerfile"
template_id = "1yyw2u1eqoa7is3qejrw"
template_name = "my-tpl-name"
start_cmd = "<your-start-command>"