Template commands
agentbox template
manage sandbox templates
Usage
bash
agentbox template [options] [command]agentbox template create
build Dockerfile as a Sandbox template. This command reads a Dockerfile and builds it directly.
Usage
bash
agentbox template create [options] <template-name>Options
-p, --path <path>: change root directory where command is executed to <path> directory-d, --dockerfile <file>: specify path to Dockerfile. By default AgentBox tries to find agentbox.Dockerfile or Dockerfile in root directory.-c, --cmd <start-command>: specify command that will be executed when the sandbox is started.--ready-cmd <ready-command>: specify command that will need to exit 0 for the template to be ready.--cpu-count <cpu-count>: specify the number of CPUs that will be used to run the sandbox. The default value is 2.--memory-mb <memory-mb>: specify the amount of memory in megabytes that will be used to run the sandbox. Must be an even number. The default value is 1024.--no-cache: skip cache when building the template.
agentbox template delete
delete sandbox template
Usage
bash
agentbox template delete [options] [template]Options
-s, --select: select sandbox template from interactive list-t, --project <project-id>: specify the project ID for the operation. See https://docs.agentbox.ru/en/cli/configuration/.-y, --yes: skip manual delete confirmation
agentbox template list
list sandbox templates
Usage
bash
agentbox template list [options]Options
-t, --project <project-id>: specify the project ID for the operation. See https://docs.agentbox.ru/en/cli/configuration/.-f, --format <format>: output format, eg. json, pretty