windows icon indicating copy to clipboard operation
windows copied to clipboard

[Question]: how to install wsl properly?

Open alexteh opened this issue 1 year ago • 1 comments

Is your question not already answered in the FAQ?

  • [X] I made sure the question is not listed in the FAQ.

Is this a general question and not a technical issue?

  • [X] I am sure my question is not about a technical issue.

Question

i have setup win11, make it persist using volume storage and shared:

    volumes:
      - win_data:/storage
      - ./shared:/shared

then I open powershell try to install wsl

wsl --install

then It ask for restarting windows, then it broke. keep looping at startup repair: image image image image image

alexteh avatar May 07 '24 05:05 alexteh

This is not a question, but a technical issue.. I put so many warnings in the form and it doesnt seem to help.

However, it also discussed here: https://github.com/dockur/windows/issues/265 already. The solution is to enable ignore_msrs if your host is Linux (which I cannot tell because I am missing all the system info because you used the wrong form).

In any case, try to add privileged: true to your compose as it will automaticly set the ignore_msrs value needed for WSL.

kroese avatar May 07 '24 08:05 kroese