GithubHelp home page GithubHelp logo

stevelasker / aspnetcoremultiproject Goto Github PK

View Code? Open in Web Editor NEW
22.0 22.0 38.0 6.86 MB

An ASP.NET Core Docker sample using multiple projects/containers

License: MIT License

C# 98.16% JavaScript 0.09% CSS 1.75%

aspnetcoremultiproject's People

Contributors

stevelas avatar stevelasker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

aspnetcoremultiproject's Issues

Error simply trying to run docker-compose project

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	

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.