-
I just changed jobs from a company that was a Linux house to a new company that is a Windows house... I thought there would be no problem. After all, I use VSCode and Docker containers, and I've heard good things about WSL (Windows Subsystem for Linux). But, it seems like the vscode-docker extension assumes/requires that Docker Desktop is installed. It does not seem to interact with containers spun up within WSL. Is there a setting I can set to tell it to use WSL? I note that the "Dev Containers" extension does seem to interact with containers in WSL. This whole Windows thing is very new to me... so it is possible that I am missing something fundamental and easy here. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The recommended approach would be to use the WSL remote extension. Effectively it lets you run VSCode as a windows app, but do your work in WSL. You’ll need to also enable the Docker extension in remote mode, but once you do, when you launch VSCode in remote mode, you’ll be working out of the WSL file system and all Docker commands will run in the context of your WSL distro. |
Beta Was this translation helpful? Give feedback.
The recommended approach would be to use the WSL remote extension. Effectively it lets you run VSCode as a windows app, but do your work in WSL. You’ll need to also enable the Docker extension in remote mode, but once you do, when you launch VSCode in remote mode, you’ll be working out of the WSL file system and all Docker commands will run in the context of your WSL distro.