解決docker與vmware的沖突問題
需要開啟Hyper-V,(開啟方法:控制面板->程序->程序和功能->啟動或關(guān)閉Windows功能,然后再重新啟動電腦)
關(guān)閉Hyper-V,步驟如上所述。
但是這種方法每次都需要重啟電腦,還是有點麻煩,好在現(xiàn)在也不怎么用虛擬機了。
補充:Docker和VMware沖突:VMware Workstation and Device/Credential Guard are not compatible報錯解決
本地安裝了Docker和VMware后,無法同時啟動。因為Docker和VMware都相當(dāng)于Hypervisor,并且基于虛擬機屬性需要獲取對CPU等硬件的掌控權(quán),因為在同一臺機器上無法同時運行。
VMware報錯
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選項開啟或者關(guān)閉Hyper - H選項,選中狀態(tài)下可啟動docker應(yīng)用
關(guān)閉過程中遇到報錯 Error code 0x80073701
Virtualization Based SecurityWIN+R 打開運行
輸入 gpedit.msc 打開 Group Policy Editor
Computer Configuration -> Administrative Templates -> System -> Device Guard 后
雙擊打開配置選項 Turn on Virtualization Based Security 選擇disable
開始 - Windows PowerShell (Admin)
開啟命令為
bcdedit /set hypervisorlaunchtype auto
關(guān)閉命令為
bcdedit /set hypervisorlaunchtype off
以上為個人經(jīng)驗,希望能給大家一個參考,也希望大家多多支持好吧啦網(wǎng)。如有錯誤或未考慮完全的地方,望不吝賜教。
相關(guān)文章:
1. 使用Docker的NFS-Ganesha鏡像搭建nfs服務(wù)器的詳細(xì)過程2. VMware中如何安裝Ubuntu3. IntelliJ IDEA刪除類的方法步驟4. IntelliJ IDEA設(shè)置背景圖片的方法步驟5. 刪除docker里建立容器的操作方法6. docker /var/lib/docker/aufs/mnt 目錄清理方法7. IntelliJ IDEA導(dǎo)入項目的方法8. Docker 部署 Prometheus的安裝詳細(xì)教程9. IntelliJ IDEA調(diào)整字體大小的方法10. IntelliJ IDEA設(shè)置默認(rèn)瀏覽器的方法
