Visual Studio 2017 - Running Docker

Hi,

I am getting below Error When Debugging VS 2017 Project using Docker (F5).

  1. I have Read All the Existing Blogs and Run the Below Script Successfully:
    C:\Users**\AppData\Local\Temp\GetVsDbg.ps1" -Version vs2017u1 -RuntimeID debian.8-x64 -InstallPath "C:\Users**\vsdbg"

  2. Docker Version: Version 17.06.2-ce-win27 (13194)
    Channel: stable
    428bd6c

  3. Shared Drives: C:\ and D:\

  4. Switched to Linux Container

But Still Get The below error:

Error MSB4018 The “EnsureVsDbgExists” task failed unexpectedly.
Microsoft.DotNet.Docker.CommandLineClientException
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.DotNet.Docker.BuildTasks.VsDbgHelper.d__2.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.DotNet.Docker.BuildTasks.DockerBaseTask.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext() docker-compose C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\VisualStudio\v15.0\Docker\Microsoft.VisualStudio.Docker.Compose.targets 185