Docker not being executed in windows when a \\wsl$\ folder is opened #7080
Labels
containers
Issue in vscode-remote containers
feature-request
Request for new features or functionality
Milestone
container logs.txt
Steps to Reproduce:
Enable integration with my default WSL distro
remote.containers.executeInWSL
tofalse
---> Observe error that docker is not installed
If you open a folder in a native windows path (e.g.
C:\Users\user\code-dir
) this does not occur and it opens in the container successfully.Does this issue occur when you try this locally?: N/A
Does this issue occur when you try this locally and all extensions are disabled?: N/A
It appears that if you open a folder in a WSL path, the remote extensions forces the
docker
commands to run from within the default WSL2 installation and not on the windows host.Our team tends to have code hosted within the WSL file system as we've noticed significant improved build and intellisense times than when on the windows partition.
Running docker from windows instead of from WSL is important because our project requires host networking, and host networking does not work if Windows docker desktop is executed via a
docker run
execution inside of WSL, but does work when executed from within windows powershell. By "does not work" I mean zero networked services created by the container are reachable from windows or WSL.I cannot find any way to force this plugin to use windows
docker
command instead of WSL'sdocker
command.The text was updated successfully, but these errors were encountered: