CubeSandbox icon indicating copy to clipboard operation
CubeSandbox copied to clipboard

WSL deployment fails when CPU virtualization is disabled

Open uniabc opened this issue 7 months ago • 3 comments

安装环境:wsl

快速开始执行 以下命令

cubemastercli tpl create-from-image \
  --image ccr.ccs.tencentyun.com/ags-image/sandbox-code:latest \
  --writable-layer-size 1G \
  --expose-port 49999 \
  --expose-port 49983 \
  --probe 49999
cubemastercli tpl watch --job-id <job_id>

报错

Image

uniabc avatar Apr 24 '26 03:04 uniabc

Hi! I'd like to work on this good first issue. I can help fix the WSL environment setup problem described in the issue. This looks like a straightforward documentation and environment configuration task that would be perfect for someone getting started with the project.

q404365631 avatar Apr 25 '26 02:04 q404365631

Thanks for the report. This issue is caused by the WSL deployment environment rather than CubeSandbox itself.

Please check whether CPU virtualization is enabled on your machine. Enter your motherboard UEFI/BIOS settings and enable the CPU virtualization option, for example Intel VT-x or AMD-V/SVM. If you are running WSL inside another virtual machine, also make sure nested virtualization is enabled for that VM.

After enabling virtualization, reboot the machine and try the deployment again.

fslongjin avatar Apr 25 '26 07:04 fslongjin

Hi! I'd like to work on this good first issue. I can help fix the WSL environment setup problem described in the issue. This looks like a straightforward documentation and environment configuration task that would be perfect for someone getting started with the project.

@q404365631 PR is always welcome. Thanks.

chenhengqi avatar Apr 27 '26 01:04 chenhengqi