You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make sure that VS Code don't connected to WSL as remote window, it should be native windows
right click to docker-compose.yml file in explorer
Compose UP
expected results- compouse up
actual result - next error:
error, which I got:
Executing task: docker compose -f "monitoring\docker-compose.yml" up -d --build
stat /mnt/d/Nextcloud/GIT/BT/infrastructure/monitoring\docker-compose.yml: no such file or directory
The terminal process "C:\WINDOWS\System32\wsl.exe -d Ubuntu-20.04 -e docker compose -f "monitoring\docker-compose.yml" up -d --build" terminated with exit code: 14.
Terminal will be reused by tasks, press any key to close it.
It uses wsl.exe command but path to docker-compose.yml is relative, not full
in my case it should be /mnt/d/Nextcloud/GIT/BT/infrastructure/monitoring/docker-compose.yml
I don't know why slash in "stat" command is in other side
otherwise, if I click reopen window in WSL, everything works great
Version: 1.25.2
OS: win32
OS Release: 10.0.22621
Product: Visual Studio Code
Product Version: 1.79.2
Language: en
The text was updated successfully, but these errors were encountered:
@dysondi this looks to be a duplicate of #3803; we don't currently support running Docker commands directly inside a specific WSL instance without WSL remoting. We don't currently have any commands that would be executed using wsl.exe; do you have any extra WSL related extensions installed that may be overriding your vscode terminal behavior?
This occurs consistently
Repro steps:
expected results- compouse up
actual result - next error:
error, which I got:
Executing task: docker compose -f "monitoring\docker-compose.yml" up -d --build
stat /mnt/d/Nextcloud/GIT/BT/infrastructure/monitoring\docker-compose.yml: no such file or directory
It uses wsl.exe command but path to docker-compose.yml is relative, not full
in my case it should be /mnt/d/Nextcloud/GIT/BT/infrastructure/monitoring/docker-compose.yml
I don't know why slash in "stat" command is in other side
otherwise, if I click reopen window in WSL, everything works great
Version: 1.25.2
OS: win32
OS Release: 10.0.22621
Product: Visual Studio Code
Product Version: 1.79.2
Language: en
The text was updated successfully, but these errors were encountered: