Closed qnm closed 4 years ago
This looks like a great extension - however running it on Windows 10 results in the error: Failed to retrieve project containers. I'm assuming this is because the extension assumes a POSIX environment.
Failed to retrieve project containers
I had a quick look through the https://github.com/Microsoft/vscode-docker repo and it looks like the solution could be as simple as replacing /bin/sh with powershell - see the code reference here: https://github.com/Microsoft/vscode-docker/blob/master/commands/open-shell-container.ts#L11
/bin/sh
powershell
If I get the time I'll put together a PR, but if I'm missing a configuration option - please let me know!
@qnm hi, thanks for the report. Attached shell command is used inside container. You should try to change docker-compose.shell setting
docker-compose.shell
This looks like a great extension - however running it on Windows 10 results in the error:
Failed to retrieve project containers
. I'm assuming this is because the extension assumes a POSIX environment.I had a quick look through the https://github.com/Microsoft/vscode-docker repo and it looks like the solution could be as simple as replacing
/bin/sh
withpowershell
- see the code reference here: https://github.com/Microsoft/vscode-docker/blob/master/commands/open-shell-container.ts#L11If I get the time I'll put together a PR, but if I'm missing a configuration option - please let me know!