如何在 mac 下的 Windows 中开启虚拟化?

153 天前
 sn0wdr1am
如题;

在 macbook 上安装了 Windows 11 。(双系统)

然后,尝试在 Windows 11 上安装 Docker 的时候,遇到一个问题:虚拟化被禁用。

看了几篇博客,感觉操作复杂、

1. 如何在装有 Windows 的 Mac 中开启固件虚拟化
https://blog.csdn.net/m0_51082586/article/details/121293318

2.macOS 系统和 mac 装 Windows 系统开启虚拟化
https://blog.csdn.net/Nbin_Newby/article/details/120307866

大家有没有更好的解决方案?
1443 次点击
所在节点    MacBook Pro
9 条回复
sn0wdr1am
153 天前
操作日志:

PS C:\Users\snowdream> wsl --install
Ubuntu 已安装。
正在启动 Ubuntu...
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80370102
Please enable the Virtual Machine Platform Windows feature and ensure virtualization is enabled in the BIOS.
For information please visit https://aka.ms/enablevirtualization
Press any key to continue...
ShadowPower
153 天前
Intel Mac:
打开 PD 的 nested 虚拟化
https://download.parallels.com/desktop/v12/docs/zh_CN/Parallels%20Desktop%20User%27s%20Guide/37830.htm

Apple Silicon Mac:
无解……
zhaidoudou123
153 天前
m2 系列好像是硬件支持 nested virtualization 了
但是呢,macOS 并没有支持😂
sn0wdr1am
153 天前
Intel Mac

不是用虚拟机 PD 安装的 Windows ,是直接在 macbook 上的硬盘上开一个分区,安装的 Windows 11.
sn0wdr1am
153 天前
wsl --set-default-version 1

通过降级,成功安装了 wsl 1 。
但是,Docker 还是启动不起来。
zhaidoudou123
153 天前
但是你的需求貌似是 bootcamp 环境下的,我认为只能按照你说的几个文章来进行
ShikiSuen
153 天前
macbook 2019 ,安装 windows 后默认虚拟化开启,你可以尝试完全重装 windows ,不保留 macos 。
sn0wdr1am
152 天前
采用了 refind 方案,虚拟化已开。

走起~

2.macOS 系统和 mac 装 Windows 系统开启虚拟化
https://blog.csdn.net/Nbin_Newby/article/details/120307866
MiketsuSmasher
151 天前
既然跑 Docker ,为什么不一步到位,直接用 Linux 虚拟机呢?

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/1011574

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX