Visual Studio 2017 stopped running docker-compose

In Visual Studio 2017 I am working on a project with 3 dotnet core projects. It was building and starting the containers using docker-compose as the startup project. Now it is giving me an error that it cannot find the container starting with a given name. In the Output window in the Show output from: docker selected it shows the combined docker-compose.yml files.

It appears that it is not building the containers, hence why it cannot find the container it is looking for by name. After seeing this I ran all the docker commands in PowerShell and it built the images and started the containers right up. With the containers in place Visual Studio started, but gave me a different error.

  • docker install fails with unmet dependencies on debian wheezy
  • Using SSH Hadoop inside docker container with non-privileged user
  • docker private registry within local network
  • Opening a (Bluemix) container to all incoming connection
  • JVM cant map reserved memory when running in Docker container
  • docker install and enable php extension
  • I’m wondering why Visual Studio would not be building the containers anymore.

    Note: I have had trouble in the past when spinning up the containers using docker cli that Visual Studio would throw exceptions, but I have cleaned docker running containers, network, volume, and images…

    enter image description here

    Thanks for your help in advance. I am loving docker, but there are some frustrations when using the VS tools thus far…

  • When using docker-compose to fire up containers how do I programatically get their ips?
  • Cannot access HTTPS service from Docker container via Virtual Box
  • Can't connect with BOLT to a docker Neo4j
  • Monitor-HostMonitor throttling_logger ERROR (359 skipped) Could not find local file system for /var/log/cloudera-scm-agent
  • How to start muli process in background with supervisor on Docker
  • Docker-compose: Use gelf driver can not resolve host of linked container
  • One Solution collect form web for “Visual Studio 2017 stopped running docker-compose”

    Are you running the project by clicking the ‘Docker” button at the top of the VS2017 window? This should build and run the correct container.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.