microsoft / vscode-remote-release

Visual Studio Code Remote Development: Open any folder in WSL, in a Docker container, or on a remote machine using SSH and take advantage of VS Code's full feature set.
https://aka.ms/vscode-remote
Other
3.64k stars 285 forks source link

Missing visual info for docker context in Remote Explorer #8113

Open bhack opened 1 year ago

bhack commented 1 year ago

Steps to Reproduce:

  1. Start a container with a local context
  2. Switch to a remote docker context
  3. Start the same on the remote context
  4. Switch to the local docker context
  5. When you try to start again the same in the local context it seems to try to use the remote host/context.
bhack commented 1 year ago

I think the problem happens mainly when you open the same container in different contexts. It seems that there is a confusion/missing encoding of the context in the containers (e.g. the local ones tries to start with the remote context).