You use Docker integrated with WSL2. What best practice should you follow regarding location of source codes that you work on?

Experience Level: Junior
Tags: WSL

Answer

Accessing files stored on Windows file system from WSL is slower than accessing files stored on WSL.

For that reason it is recommended to always store source codes directly to WSL. You can modify them from Windows either via \\wsl$ or use Remote-WSL.

Comments

No Comments Yet.
Be the first to tell us what you think.
Windows Subsystem for Linux (WSL)
Windows Subsystem for Linux (WSL)

Are you learning WSL ? Try our test we designed to help you progress faster.

Test yourself