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

The executing task is incorrect in terminal window if executing run image command after executing build image command

Open v-ruizh opened this issue 3 years ago • 4 comments

OS: Windows 10 Build Version: 20220713.1

Repro Steps:

  1. Open an Express app in VS Code and add Docker files to it.
  2. Right click the Dockerfile -> Build image.
  3. Navigate to the Image view -> Right click the express image and select "Run".
  4. Check whether the executing task is correct in terminal window.

Expect: The executing task is correct in terminal window. image

Actual: The executing task is incorrect in terminal window. image

More Info: The executing task is right if only executing run image command.

v-ruizh avatar Jul 20 '22 08:07 v-ruizh

This was done on the PR build for #3555, so could be related to that.

bwateratmsft avatar Jul 20 '22 14:07 bwateratmsft

@v-ruizh was this on VSCode Insiders or the main release? I was not able to reproduce on main.

bwateratmsft avatar Jul 20 '22 14:07 bwateratmsft

@bwateratmsft Verified on the latest main Docker extension build 20220720.11, this issue also reproduces in VS Code Insiders. It does not reproduce in VS Code.

v-ruizh avatar Jul 22 '22 02:07 v-ruizh

I am able to reproduce. This is only happening in Insiders and there haven't been changes in Docker in that area lately, so I suspect this must be a VSCode bug. I'll create an issue.

bwateratmsft avatar Jul 25 '22 14:07 bwateratmsft

Verified this is fixed on the latest Insiders build.

bwateratmsft avatar Sep 27 '22 14:09 bwateratmsft