Using Visual Studio Code Remote Explorer with WSL 2 Will Change How You Think About Volume Bind Mounts

.

On Visual Studio Code + WSL: Running PHP Intellisense from Alpine Linux on Windows 10, I wrote at the end of last month (January 28, 2020) about:

  • Debugging the source code mounted from Windows to Docker Desktop by Ubuntu WSL, using Visual Studio Code, and an PHP interpreter located in Alpine WSL.

Pre Docker Desktop 2.2, this was a great workflow because it created separation of concerns: