Docker-Compose with Node/ASP support

Kyle Estes 1 Reputation point
2021-09-02T16:04:57.163+00:00

Hey! I'm having an issue attempting to use visual studio to add docker/docker-compose support to a node project. When clicking on the node project and pressing add docker support it gives me the following error

An error occurred while adding Docker File support to this project

InvalidParameter
Parameter name: index

So I created the docker file myself and ensured that it works on its own by running it through docker build/run(which works fine)

I then add this docker file to the docker-compose startup project in visual studio and I get the following error

CTC1030 Unable to find the template docker-compose.vs.debug.yml

This node project is placed alongside some ASP stuff and the docker-compose builds just fine when i remove the node project.

I know I can do the docker compose stuff myself, however my team is full of people who dont know docker well and Its considered a must that were able to just click the run button and it all works in visual studio. Is there anyway I can accomplish this or has anyone else seen these errors and has any solutions for me?

(This error is popping up on VS preview 3.1 and VS 2019 LTS)

Thanks!

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,176 questions
0 comments No comments
{count} votes