I, have created a project in asp.net core 2.0 project on macOS X with docker support on it.Successfully created project and added docker support.
When I run the project I, am getting an error as
Cannot start service merorentalwebapi: b'Mounts denied: \r\nThe path /usr/local/share/dotnet/sdk/NuGetFallbackFolder\r\nis not shared from OS X and is not known to Docker.\r\nYou can configure shared paths from Docker -> Preferences... -> File Sharing.\r\nSee https://docs.docker.com/docker-for-mac/osxfs/#namespaces for more info.\r\n.' /Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/AddIns/docker/MonoDevelop.Docker/MSbuild/Sdks/Microsoft.Docker.Sdk/build/Microsoft.VisualStudio.Docker.Compose.targets(363,5): error : Encountered errors while bringing up the project..
Here is the list from docker preferences
Tried some solution from this link Docker: Mounts denied. The paths ... are not shared from OS X and are not known to Docker But didn't help me to solve the issue.
How do I fixed this issue as I, am new to .net on apple mac OS .
Solve it need to add this location in docker preference
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With