win10安装docker踩过的坑

本文介绍了如何在Windows系统上通过一系列步骤来启用MobyLinux所需的特定服务,并详细说明了如何配置Hyper-V角色以支持Linux容器的过程。

Enable-MobyLinuxRequiredService

1, Open “Window Security”
2, Open “App & Browser control”
3, Click “Exploit protection settings” at the bottom
4, Switch to “Program settings” tab
5, Locate “C:\WINDOWS\System32\vmcompute.exe” in the list and expand it
6, Click “Edit”
7, Scroll down to “Code flow guard (CFG)” and uncheck “Override system settings”
8, Start vmcompute from powershell “net start vmcompute”

failed to register layer: re-exec error: strconv.ParseInt:

switch to linux containers

The system cannot find the file specified. In the default daemon configuration on Windows

1, 通过“设置”启用 Hyper-V 角色
2, 右键单击 Windows 按钮并选择“应用和功能”。
3, 选择相关设置下右侧的“程序和功能”。
4, 选择“打开或关闭 Windows 功能”。
5, 选择“Hyper-V”,然后单击“确定”。

图

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值