Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The terminal process failed to launch: Path to shell executable "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe" does not exist. #2378

Closed
sjuratov opened this issue Oct 8, 2020 · 2 comments

Comments

@sjuratov
Copy link

sjuratov commented Oct 8, 2020

I am running VS Code on my local Windows VM.

I have installed VS Code Remote Development extension so that I can SSH to remote Ubuntu VM. After successful SSH to this remote VM, I was able to create new Docker image using docker cmdline.

Now I want to push this image to ACR, so I have installed VS Code Docker extension (I can see after install that it is SSH installed, not local). I can login to Azure, find my ACR, see images I have published.

However, when I try either push an image (from Ubuntu VM) to ACR, or pull an image from ACR to Ubuntu VM, I get following error:


Executing task: docker pull 5c5dd98e724841e884500abc807070b9.azurecr.io/azureml/azureml_788671660c5ec027a2dbf2ff5cda3e5c:latest <

The terminal process failed to launch: Path to shell executable "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe" does not exist.

Terminal will be reused by tasks, press any key to close it.


Why is Docker extension trying to use PowerShell? Obviously this path doesn't exist on remote Ubuntu VM. What am I missing?

@bwateratmsft
Copy link
Collaborator

Looks the same as #2350 which is a VS Code bug. Can you try opening a workspace folder on the remote side? Or use the latest VS Code Insiders build?

@sjuratov
Copy link
Author

sjuratov commented Oct 9, 2020

Opening a workspace folder on the remote side solved the problem. Thanks!

@sjuratov sjuratov closed this as completed Oct 9, 2020
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants