怎么把wsl1 变成wsl2
怎么 变成 wsl2
2023-09-14 09:09:45 时间
-
Ensure the distribution runs in WSL 2 mode. WSL can run distributions in both v1 or v2 mode.
To check the WSL mode, run:
$ wsl.exe -l -v
To upgrade your existing Linux distro to v2, run:
$ wsl.exe --set-version (distro name) 2
To set v2 as the default version for future installations, run:
$ wsl.exe --set-default-version 2
-
When Docker Desktop starts, go to Settings > Resources > WSL Integration.
The Docker-WSL integration is enabled on your default WSL distribution. To change your default WSL distro, run
wsl --set-default <distro name>
For example, to set Ubuntu as your default WSL distro, run:
$ wsl --set-default ubuntu
Optionally, select any additional distributions you would like to enable the Docker-WSL integration on.
相关文章
- 2021大学生开学寄语简短励志怎么用手机便签发朋友圈?
- 问题-[ACCESS2007]怎么显示MsysObjects
- Spring Boot 中 Tomcat 是怎么启动的
- 怎么看时序图--nand flash的读操作详解
- 在以前万网的用户 账户有钱 一合并怎么没了
- 控制变量行业年份回归时在STATA里怎么操作_stata 分年份回归
- 学习python第一天,请教一下怎么学?
- Win11的筛选键怎么关闭
- 爱尔轩焰魔G2笔记本怎么U盘重装系统教学
- Windows10下载到U盘怎么安装?
- 下了个C-Free,结果点新建,出来的就是.cpp 怎么变成.c呢。。。他默认新建文件是c++的啊,
- Android 怎么快速查看xml文件被调用的哪个java文件
- 时间复杂度到底怎么算
- 深信服AC路由部署模式,怎么启用为PN与总部机构为PN连接