Skip to main content

Posts

Showing posts from March, 2020

Troubleshooting "BackendDestroyException" in Docker

Setting up Docker in Windows environment is not an easy task. I have seen many people (including me) struggling to get it run on Windows PC. I have installed 'Docker for Desktop' in my laptop which has Windows 10 Pro 64-bit, Version 1909 (OS Build 18363.720). It was running fine with Windows containers. However, when I needed to switch to Linux container, it crashed with below error: Docker.Core.Backend. BackendDestroyException: Unable to stop Hyper-V VM: Service 'Hyper-V Host Compute Service (vmcompute)' cannot be started due to the following error: Cannot start service vmcompute on computer '.'. at Enable- MobyLinuxRequiredService, <No file>: line 103 at <ScriptBlock>, <No file>: line 804    at Docker.Core.Pipe. NamedPipeClient.<TrySendAsync> d__5.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime. ExceptionServices. ExceptionDispatchInfo.Throw()    at Doc