the PowerShell's devcontainer.json is invalid
See original GitHub issuepwsh
does not seem accepted.
Value is not accepted. Valid values: “sh”, “bash”, “bash (2)”, “rbash”, “rbash (2)”, “dash”, “dash (2)”, “tmux”, “screen”, “fish”, “JavaScript Debug Terminal”.(1)
This seems to be a schema issue rather than a definition issue, but I didn’t know where to report it. Please transfer if necessary.
- VSCode Version: 1.66.2
- Local OS Version: WSL2
- Local chip architecture: x86
- Reproduces in: Remote - Containers
- Name of Dev Container Definition with Issue: PowerShell
Issue Analytics
- State:
- Created a year ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
devcontainer\devcontainer.json - PowerShell Gallery
json values on container create. "settings": { "terminal.integrated.shell.linux": "/usr/bin/pwsh" }, / ...
Read more >Developing inside a Container - Visual Studio Code
A devcontainer.json file in your project tells VS Code how to access (or create) a development container with a well-defined tool and runtime...
Read more >ConvertFrom-Json (Microsoft.PowerShell.Utility)
The ConvertFrom-Json cmdlet converts a JavaScript Object Notation (JSON) formatted string to a custom PSObject or Hashtable object that has a property for ......
Read more >docker - Error when opening a VSCode remote-container from ...
I modified the devcontainer.json to set the vscode user to "remoteUser": "root", . This seems wrong. The container runs now. I referenced ...
Read more >PowerShell Universal VS Code devcontainer.json
PowerShell Universal VS Code devcontainer.json ... 7.2.0-preview.5 #See: https://hub.docker.com/_/microsoft-powershell ARG PWSHVERSION=lts ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Note that, the warning did not occur on the container. The warning occurs before the container is built.
devcontainer.json
is a file to edit before creating the container.I feel like this warning is by design on my end since the setting has some advanced validation. I’d recommend @meganrogge’s approach to workaround.