Bash
通过配置文件
您也可以在运行ppio-sandbox-cli template build 命令的同一目录下的 ppio.toml 文件内指定沙箱模板的 vCPU 和 RAM 规格。
Toml
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
ppio-sandbox-cli template build -c "/root/.jupyter/start-up.sh" --cpu-count 2 --memory-mb 2048
ppio-sandbox-cli template build 命令的同一目录下的 ppio.toml 文件内指定沙箱模板的 vCPU 和 RAM 规格。
template_id = "0r0efkbfwzfp9p7qpc1c"
dockerfile = "ppio.Dockerfile"
template_name = "my-agent-sandbox"
ready_cmd = "<your-ready-command>"
# 指定沙箱模板 vCPU 和 RAM 规格为 2 vCPU、2GB RAM
cpu_count = 2
memory_mb = 2_048