Customize CPU & RAM
During the build step, you can customize the CPU and RAM allocated to your sandbox template.
- The
--cpu-countoption specifies the number of CPU cores. - The
--memory-mboption specifies the amount of RAM (in megabytes).
For example, the following command creates a sandbox template with 2 CPUs and 2 GB of RAM:
# --platform [ linux_x86 | android ]
agentbox template build --platform linux_x86 -c "/root/.jupyter/start-up.sh" --cpu-count 2 --memory-mb 2048