vscode-docker-compose icon indicating copy to clipboard operation
vscode-docker-compose copied to clipboard

Failed to retrieve project containers

Open laurencefass opened this issue 7 years ago • 5 comments

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

laurencefass avatar Apr 23 '18 10:04 laurencefass

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.

PeterHodgson avatar May 03 '18 13:05 PeterHodgson

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

nmbradford avatar May 17 '18 06:05 nmbradford

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 avatar May 17 '18 09:05 ddnexus

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

ddnexus avatar May 17 '18 09:05 ddnexus

Same issue for me on Windows 10

michalhudecek avatar May 23 '18 20:05 michalhudecek