p1c2u / vscode-docker-compose

Docker Compose Extension for Visual Studio Code
MIT License
18 stars 8 forks source link

Failed to retrieve project containers #15

Open laurencefass opened 6 years ago

laurencefass commented 6 years ago

when i click refresh there is no console activity (i.e. errors) and no network activity.

i have a valid docker-compose.yml file in the project.

version: '2.1'

services:
  docker-example:
    image: docker-example
    build: .
    environment:
      NODE_ENV: production
    ports:
      - 3000:3000
PeterHodgson commented 6 years ago

I see this too.

"Failed to retrieve project containers" is seen whether or not they are running. Even when the containers are started by choosing "Up" from the compose context menu.

nmbradford commented 6 years ago

Likewise - is this supported on Windows? Normal Docker plugin for vscode works fine and valid compose file exists in project directory root...

ddnexus commented 6 years ago

In Ubuntu 18.04 it is the same. However the Compose Up and Compose Down contextual menus work on the composer file, but it looks like the Extension Explorer is not aware of it.

ddnexus commented 6 years ago

Just discovered the Compose Up and Down menus are provided by the Docker extension, not the Docker Compose extension.

michalhudecek commented 6 years ago

Same issue for me on Windows 10