title: failed to build: Get https://registry-1.docker.io/v2/microsoft/aspnetcore/manifests/1.1: unauthorized: incorrect username or password
body: <p>My aspnetcore docker project builds, however when I click the Docker button ( or press F5) to run I get</p>
  
  <pre><code>Severity    Code    Description Project File    Line    Suppression State
  Error   MSB4018 The "PrepareForLaunch" task failed unexpectedly.
  Microsoft.DotNet.Docker.CommandLineClientException: Creating network "dockercompose1627893588_default" with the default driver
  Building pswebapi
  Service 'pswebapi' failed to build: Get https://registry-1.docker.io/v2/microsoft/aspnetcore/manifests/1.1: unauthorized: incorrect username or password.
  
  For more troubleshooting information, go to http://aka.ms/DockerToolsTroubleshooting ---&gt; Microsoft.DotNet.Docker.CommandLineClientException: Creating network "dockercompose1627893588_default" with the default driver
  Building pswebapi
  Service 'pswebapi' failed to build: Get https://registry-1.docker.io/v2/microsoft/aspnetcore/manifests/1.1: unauthorized: incorrect username or password
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Microsoft.DotNet.Docker.DockerComposeClient.&lt;ExecuteAsync&gt;d__18.MoveNext()
     --- End of inner exception stack trace ---
     at Microsoft.DotNet.Docker.DockerComposeClient.&lt;ExecuteAsync&gt;d__18.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.DockerWorkspace.&lt;PrepareForLaunchAsync&gt;d__14.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.&lt;ExecuteInstantiatedTask&gt;d__26.MoveNext() docker-compose  C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\VisualStudio\v15.0\Docker\Microsoft.VisualStudio.Docker.Compose.targets  192 
  </code></pre>
  
  <p>I do have C: shared using Docker Settings.
  I am using linux containers</p>
  
  <p>Dockerfile is </p>
  
  <pre><code>FROM microsoft/aspnetcore:1.1
  ARG source
  WORKDIR /app
  EXPOSE 80
  COPY ${source:-obj/Docker/publish} .
  ENTRYPOINT ["dotnet", "PsWebApi.dll"]
  </code></pre>
  
  <p>I have upgraded to the latest nuget packages.</p>