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

The error message is unclear after executing the command "Docker Containers: Compose Stop/Start/Logs" from command palette

Open v-mengwe opened this issue 3 years ago • 1 comments

OS: All Build Version: 20220412.2 Regression: Not a Regression

Repro Steps:

  1. Right click a docker.compose file -> Compose Up -> There is a running container in the Container view.
  2. Click the "Configure Explorer…" button on the Containers view -> Group By -> Select a property (don't select "Compose Project Name").
  3. F1 -> Docker Containers: Compose Stop/Start/Logs.
  4. Check whether the error message is clear.

Expect: The error message is clear.

Actual: The error message is unclear.

"No Docker Compose projects are running" looks like the “Compose Up” command is not executed and there is no running container in the Container view. image

v-mengwe avatar Apr 14 '22 09:04 v-mengwe

That makes sense. I'll have to change it so that command does not show up in the command palette if the containers view isn't grouped by compose project.

Not a blocker for 1.22 for sure though.

bwateratmsft avatar Apr 14 '22 13:04 bwateratmsft

Actually this should already be the case: image

bwateratmsft avatar Jan 04 '23 21:01 bwateratmsft

Ah, we got logs, restart, and down, but not stop and start.

bwateratmsft avatar Jan 04 '23 21:01 bwateratmsft