Windows上使用Docker需要开启支持虚拟机平台,开启Hyper-V(Windows自带虚拟化平台)服务。
管理者执行CMD命令
开启
bcdedit /set hypervisorlaunchtype off
关闭
bcdedit /set hypervisorlaunchtype auto