Dockertools: Cannot start Docker debug with VS2017 15.39.11

Created on 14 Apr 2019  路  10Comments  路  Source: microsoft/DockerTools

Hi All

I am running with windows docker on windows server 2016 (64 bit) with docker enable.
I created a traditional mvc web app with 4.6.1 frmwrk(Vs2017 IDE).It is not running
Below error is coming
error1

docker file are below
docker-compose
docker-compose overrides

Pls suggest ..what to do for fix..
Thanks,

Most helpful comment

Thanks @sgreenmsft .
now i can create a docker of .net 4.6 app and run at win container.
Thanks,

All 10 comments

@tutul2010. I walked through the same on latest 15.9 and didn't encounter any issues. Can you share the ActivityLog.xml that it is pointing too.

Thanks @dbreshears for your replay...
Here is mine ActivityLog.xml as attachment .
ActivityLog.txt

one thing , for dotnet-core app ,it is working fine with images and windows container.
But normal mvc app(dotnet 4.6.1 framewrk) gave exception.

Thanks,

Hmm.. Seems to be related to the error list and an exception in the shell getting the build order list in response to task list changes. Not anything we have seen specific to being "dockerized". Does this occur if in a non-dockerized 4.6.1 MVC project?

Does this work

  1. Create a non-dockerized 4.6.1 MVC project
  2. F5 and close browser
  3. Right click and "Add Container Orchestration " from the Webapplication context menu and choose Docker Compose
  4. Build or F5

Did you recently upgrade and can you try to repair VS?

Thanks @dbreshears for your replay...
I created a mvc app on . NET framework 4.6.1 without docker by vs2017-community IDE and it is running fine.
When i clicked at solution and looking for docker support for app , it is not showing .I don't know why?
dockerPlugin

Should i repair VS2017 again or upgrade or need to install other plugin?
Thanks,

@tutul2010, In the Add menu you'll need to click "Container Orchestrator Support" and choose "Docker-Compose"

Thanks @sgreenmsft for your replay...
I did what u told and got an error as below. Mvc App is not running with docker support.
dockerPlugin02
Below is my OS docker version info..
doker-versionFull
Any thing am i missing for .NET app with docker?

Thanks,

For Windows Server you'll need to install Docker-Compose separately. Installation instructions are available here: https://docs.docker.com/compose/install/

Thanks @sgreenmsft for your replay...
I am installing that for win-server 2016 OS at vm and let u know

Thanks @sgreenmsft .
now i can create a docker of .net 4.6 app and run at win container.
Thanks,

@tutul2010 , I believe the solution worked for you, so closing this issue.
Please feel free to open another issue if the problem persists.

Was this page helpful?
0 / 5 - 0 ratings