解決docker與vmware的沖突問題
需要開啟Hyper-V,(開啟方法:控制面板->程序->程序和功能->啟動(dòng)或關(guān)閉Windows功能,然后再重新啟動(dòng)電腦)
關(guān)閉Hyper-V,步驟如上所述。
但是這種方法每次都需要重啟電腦,還是有點(diǎn)麻煩,好在現(xiàn)在也不怎么用虛擬機(jī)了。
補(bǔ)充:Docker和VMware沖突:VMware Workstation and Device/Credential Guard are not compatible報(bào)錯(cuò)解決
本地安裝了Docker和VMware后,無法同時(shí)啟動(dòng)。因?yàn)镈ocker和VMware都相當(dāng)于Hypervisor,并且基于虛擬機(jī)屬性需要獲取對(duì)CPU等硬件的掌控權(quán),因?yàn)樵谕慌_(tái)機(jī)器上無法同時(shí)運(yùn)行。
VMware報(bào)錯(cuò)
VMware Workstation and Device/Credential Guard are not compatible. VMware Workstation can be run after disabling Device/Credential Guard. Please visit http://www.vmware.com/go/turnoff_CG_DG for more details.
Windows features on or off通過切換windows features選項(xiàng)開啟或者關(guān)閉Hyper - H選項(xiàng),選中狀態(tài)下可啟動(dòng)docker應(yīng)用
關(guān)閉過程中遇到報(bào)錯(cuò) Error code 0x80073701
Virtualization Based SecurityWIN+R 打開運(yùn)行
輸入 gpedit.msc 打開 Group Policy Editor
Computer Configuration -> Administrative Templates -> System -> Device Guard 后
雙擊打開配置選項(xiàng) Turn on Virtualization Based Security 選擇disable
開始 - Windows PowerShell (Admin)
開啟命令為
bcdedit /set hypervisorlaunchtype auto
關(guān)閉命令為
bcdedit /set hypervisorlaunchtype off
以上為個(gè)人經(jīng)驗(yàn),希望能給大家一個(gè)參考,也希望大家多多支持好吧啦網(wǎng)。如有錯(cuò)誤或未考慮完全的地方,望不吝賜教。
相關(guān)文章:
1. Android 7.0 運(yùn)行時(shí)權(quán)限彈窗問題的解決2. java實(shí)現(xiàn)圖形化界面計(jì)算器3. IntelliJ IDEA設(shè)置條件斷點(diǎn)的方法步驟4. IDEA的Mybatis Generator駝峰配置問題5. ASP.NET MVC解決上傳圖片臟數(shù)據(jù)的方法6. Python使用oslo.vmware管理ESXI虛擬機(jī)的示例參考7. Thinkphp3.2.3反序列化漏洞實(shí)例分析8. python 批量將PPT導(dǎo)出成圖片集的案例9. 原生js XMLhttprequest請(qǐng)求onreadystatechange執(zhí)行兩次的解決10. python編寫函數(shù)注意事項(xiàng)總結(jié)
