Skip to content

Commit 7aaa940

Browse files
authored
Merge pull request #8228 from ghogen/patch-2
AB#3993: Add troubleshooting item for VSCT_WslDaemon environment variable
2 parents 057768e + 632b4f7 commit 7aaa940

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

support/developer/visualstudio/ide/troubleshooting-docker-errors.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Troubleshoot Docker client errors on Windows
33
description: Troubleshoot problems you encounter when using Visual Studio to create and deploy web apps to Docker on Windows by using Visual Studio.
44
ms.devlang: dotnet
55
ms.custom: sap:Integrated Development Environment (IDE)\Other, linux-related-content
6-
ms.date: 10/12/2022
6+
ms.date: 02/20/2025
77
author: HaiyingYu
88
ms.author: haiyingyu
99
ms.reviewer: ghogen
@@ -26,6 +26,10 @@ File sharing only needs to be managed if you're using Hyper-V with Docker. If yo
2626
> [!TIP]
2727
> Visual Studio prompts you when **Shared Drives** aren't configured.
2828
29+
## Problems with paths on Windows containers
30+
31+
When you use file paths that are specific to Linux on a Windows container, you might encounter various file input or output (I/O) errors. If so, check the value of the environment variable `VSCT_WslDaemon`. If the variable is set, Visual Studio attempts to use Windows Subsystem for Linux (WSL) paths to refer to the Windows files for creating volumes. This is necessary for Docker in WSL, but doesn't work with Docker Desktop on Windows. This environment variable should always be unset if you use Windows containers.
32+
2933
## Unable to start debugging
3034

3135
One reason for this issue could be related to having stale debugging components in your user profile folder. Execute the following commands to remove these folders so that the latest debugging components are downloaded on the next debug session.

0 commit comments

Comments
 (0)