Installing docker on azure virtual machine windows 10

前端 未结 3 1556
囚心锁ツ
囚心锁ツ 2021-02-13 04:05

I am getting an error upon installing docker on azure virtual machine.

m/c configuration: azure vm, windows 10 enterprise, Intel 2.4 GHz, 7 GB RAM, 64-bit opera

3条回答
  •  清酒与你
    2021-02-13 04:18

    Here is a solution if you are getting this error on Azure Windows 10 VM where you have installed Docker:

    1. Ensure Windows Hyper-V featutes are enabled by running PowerShell cmdlet:

    Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All -Verbose

    1. Ensure Windows Containers feature is enabled by running PowerShell cmdlet:

    Enable-WindowsOptionalFeature -Online -FeatureName Containers -All -Verbose

    1. Ensure Hypervisor is set to auto start in the Boot Configuration Database (BCD) by running in elevated command prompt the command:

    bcdedit /set hypervisorlaunchtype Auto

    After running all of the above and you restart the Azure VM, Docker should be starting normally.

提交回复
热议问题