Documentation Index
Fetch the complete documentation index at: https://ppio.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
对于同一个沙箱模板,每次构建后,系统都会新增一个版本号(buildID),沙箱模板会默认使用最新构建的版本。某些场景下,如果发现新构建的版本有错误需要回滚到历史的某个版本。这时您可以使用 PPIO 沙箱命令行工具来对沙箱模板的版本进行管理。
查看沙箱模板的所有版本
# ppio-sandbox-cli template version [templateID]
ppio-sandbox-cli tpl version m3b8bus6balxmxlijrwb
# 示例输出:
# Sandbox template versions
# Build ID Is Default Build RAM MiB VCPUs Start Cmd Status Created At Finished At
# effe0aca-15ae-4976-be4b-2027bbe4eb07 true 8192 8 Uploaded 7/16/2025, 10:28:26 PM 7/16/2025, 10:33:07 PM
# 8188e650-26dd-4f93-835e-aad63ecf767b false 8192 8 Uploaded 7/11/2025, 1:34:23 PM 7/11/2025, 1:38:58 PM
回滚到指定版本
# ppio-sandbox-cli template version [templateID] -r [buildID]
ppio-sandbox-cli tpl version m3b8bus6balxmxlijrwb -r effe0aca-15ae-4976-be4b-2027bbe4eb07