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.61k stars 274 forks source link

[devcontainer] Move docker (compose) path to Remote section / Allow override of settings by Remote section #10041

Open pgourinchas opened 2 months ago

pgourinchas commented 2 months ago

Hello,

I was wondering if it could be possible to move the following settings into the "Remote" section, or at least allow them to be overriden in the "Remote" section:

I have a different container "engine" when I use WSL (docker), or when I use another remote environment (podman). Doing so would help me, because I would no longer have to change this settings everytime I switch from WSL to the other remote environment.

image

Best regards,

chrmarti commented 1 month ago

The difficulty is that the extension doesn't have WSL's settings available in the extension API while connecting to the dev container. The same issue applies when connecting through SSH or a Tunnel.