stevelasker / aspnetcoremultiproject Goto Github PK
View Code? Open in Web Editor NEWAn ASP.NET Core Docker sample using multiple projects/containers
License: MIT License
An ASP.NET Core Docker sample using multiple projects/containers
License: MIT License
I download the source and opened within VS Studio 2017. I set the docker-compose project as the Startup Project and attempt to run it to see the in container debugging feature. I am getting the error below. Any tips or clues on what to examine would be greatly appreciated.
ERROR: for web Cannot create container for service web: invalid bind mount spec "/remote_debugger:ro": invalid volume specification: '/remote_debugger:ro'
which opens the following file
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\VisualStudio\v15.0\Docker\Microsoft.VisualStudio.Docker.Compose.targets
Full Error Stack:
Severity Code Description Project File Line Suppression State
Error MSB4018 The "PrepareForLaunch" task failed unexpectedly.
Microsoft.DotNet.Docker.CommandLineClientException: The NUGET_PACKAGES variable is not set. Defaulting to a blank string.
The VSDBG_PATH variable is not set. Defaulting to a blank string.
Creating network "dockercompose556412278_default" with the default driver
Building web
Building api
Creating dockercompose556412278_web_1
Creating dockercompose556412278_api_1
**ERROR: for web Cannot create container for service web: invalid bind mount spec "/remote_debugger:ro": invalid volume specification: '/remote_debugger:ro'
ERROR: for api Cannot create container for service api: invalid bind mount spec "/remote_debugger:ro": invalid volume specification: '/remote_debugger:ro'**
Encountered errors while bringing up the project..
For more troubleshooting information, go to http://aka.ms/DockerToolsTroubleshooting ---> Microsoft.DotNet.Docker.CommandLineClientException: The NUGET_PACKAGES variable is not set. Defaulting to a blank string.
The VSDBG_PATH variable is not set. Defaulting to a blank string.
Creating network "dockercompose556412278_default" with the default driver
Building web
Building api
Creating dockercompose556412278_web_1
Creating dockercompose556412278_api_1
**ERROR: for web Cannot create container for service web: invalid bind mount spec "/remote_debugger:ro": invalid volume specification: '/remote_debugger:ro'
ERROR: for api Cannot create container for service api: invalid bind mount spec "/remote_debugger:ro": invalid volume specification: '/remote_debugger:ro'**
Encountered errors while bringing up the project.
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.DotNet.Docker.DockerComposeClient.<ExecuteAsync>d__18.MoveNext()
--- End of inner exception stack trace ---
at Microsoft.DotNet.Docker.DockerComposeClient.<ExecuteAsync>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.<PrepareForLaunchAsync>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.<ExecuteInstantiatedTask>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 192
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.