title: Visual Studio Tools for Docker - PrepareForCompile task failed unexpectedly
body: <p>I took a clean machine (Windows 10 Enterprise w/out the Anniversary Update) and installed (in this order) Full IIS, Hyper-V, VS2015 Enterprise, .NET Core 1.0.1 Tooling Preview 2, Docker for Windows, Visual Studio Docker Tools, and a few other random programs.</p>
  
  <p>I then opened VS2015 and created a default .NET core website.  When I run (F5) all works as expected.  I then right clicked on the project and went to <code>Add-&gt;Docker Support</code>.  Now when trying to run (F5) using Docker I see this error message:</p>
  
  <blockquote>
    <p>MSB4018 The "PrepareForCompile" task failed unexpectedly.
    Microsoft.DotNet.Docker.CommandlineClientException: Error response
    from daemon: Container ... is not running at ...</p>
  </blockquote>
  
  <p>I have searched online and the only thing I can find that might explain it is that I don't think Shared Drives are working.  I did set it up in Docker->Shared Drives, but when I run: 
  <code>docker run --rm -v c:/Users:/data alpine ls /data</code>
  the response is empty.  </p>
  
  <p>Likewise when I try using busy box the directory is empty.</p>
  
  <p><code>docker run -it -v /C/Users:/wormhole busybox
  cd wormhole
  ls</code></p>
  
  <p>I have tried using <strong>Windows Desktop for Docker</strong> 1.12.1-stable and beta 26. Both have the same issue.</p>
  
  <p>Some have indicated that Antivirus could cause a problem.  I do have Mcafee installed, but I cannot uninstall or disable the antivirus software.</p>
  
  <p>Some have suggested that passwords with unusual characters can cause this issue but that does not apply here.</p>
  
  <p>I don't know that shared drives are causing the VS2015 error, but it seems like a good place to start since shared drives are broken.</p>
  
  <p>I have restarted bot hdock and the computer many times, to no avail.</p>
  
  <p>Any Ideas?</p>