I'm trying to use Puppeteer. And it recommends me to run sudo sysctl -w kernel.unprivileged_userns_clone=1 to enable the sandbox.

But when I do that on my WSL, it complains sysctl: cannot stat /proc/sys/kernel/unprivileged_userns_clone: No such file or directory. And I don't know how to go from there..

  • At the time of writing, there is no "Linux kernel" in WSL. So, no init system, no systemd etc. Wait for the next release of WSL2. – Biswapriyo May 23 at 5:29
  • I see. Thank you for the response! – kyw May 23 at 5:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.