how to enable wsl ubuntu in workspaces?

0

how to enable wsl ubuntu in workspaces?

質問済み 6ヶ月前394ビュー
2回答
0

I believe wsl2 doesn’t work in a nested virtual environment unless you can expose the cpu features. Therefore it will not work on workspaces.

It would work on hyper-v I believe.

profile picture
エキスパート
回答済み 6ヶ月前
0

I am going to assume your interest in WSL2 is due to the need to run Linux containers on Ubuntu WorkSpaces.

  • You do not need WSL2 to run Linux containers on Ubuntu. It natively supports Docker containers. I have installed and configured Docker Engine on Ubuntu WorkSpaces. Use this link. https://docs.docker.com/engine/install/ubuntu/ Follow the three steps listed, and you are good.
  • As of today, it is not possible to run Docker or Linux containers on Windows WorkSpaces due to the lack of support for nested virtualization. WSL2 is basically running a hypervisor to run Linux containers, which requires support from hardware that the current WorkSpaces hosts do not offer.
  • On a separate note, Docker Desktop will not run on Ubuntu WorkSpaces. After spending time on this, i ve come to realize this is because of the hard requirements it has with certain qemu modules. Qemu is a virutalisation platform that Docker Desktop requires to run. Since Qemu requires hardware support and WorkSpaces hosts doesnt offer that support as yet, I ve not had success with Docker Desktop. But I didn't have any issues running the Docker engine on Ubuntu WorkSpaces.
profile pictureAWS
Arun_PC
回答済み 6ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ