microsoft / microsoft/vscode-remote-release
Cannot connect multiple VS code windows to single docker container, despite menu options available
@chrmarti is already working on this.
Since Jul 4, 2024.
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 469
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
With a docker container open in one VS code window, it is not possible to connect to the same container in another window, although the menu options suggest that this should be possible.
There is a previously closed issue regarding this (#1737) before the menu options were present. However, it appears that the menu options are now broken and the original behaviour has been re-introduced.
- VSCode Version: 1.90.2
- Local OS Version: Linux x64 6.5.0-41-generic / Ubuntu 20.04.6 LTS
- Remote OS Version: Ubuntu 20.04.6 LTS
- Remote Extension/Connection Type: Containers
Steps to Reproduce:
- Open a new empty window.
- Attach to a running docker container.
- Open a second window.
- Use the left-hand panel "Remote Explorer" tab. Right-click on the same running container and select "Attach in current window" or "Attach in new window".
- This causes the original window to regain focus, and the action is not performed as expected.
Does this issue occur when you try this locally?: Yes
Does this issue occur when you try this locally and all extensions are disabled?: Yes
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.