Using Visual Studio with Docker ANZ Coders. Leroy Mason shows you how you can use the Visual Studio 2015 Tools for Docker (preview) to 'F5' your application directly into a Docker Container. SQL Server Development on Mac (Using Docker, Valentina Studio, and Visual Studio for Mac) Tired of depending on Windows to develop SQL Server powered applications? This tutorial is for you. Visual Studio for Mac which was launched in late 2016, replaced Xamarin Studio. While Xamarin Studio was a mobile first IDE, its successor is a mobile first and cloud first IDE that supports various workloads which weren’t present in XS.
I just got a MacBook Pro and am trying to run a dotnet core web api project I created on my Windows PC. I also am learning how to use Docker and am trying to integrate it into my project.
When I right click on my API project and hit Add > Docker Support, a docker-compose project and corresponding .yml file are generated and a Dockerfile is added to my Api project.
This is what the .yml file looks like:
And here is the Dockerfile that is generated:
When I run the solution, using the docker-compose project as the startup, I get the following error:
Any idea what I need to do to get this working? It might be really simple and obvious but I am very new to Docker and Macs so I'm not sure what I'm doing.
Visual Studio Docker Support
1 Answer
Add the folder /usr/local/share/dotnet/sdk/NuGetFallbackFolder to the File Sharing list in Docker Preferences. It will work.