Add support for interactive web terminal in docker for PowerShell and Pwsh

What does this MR do?

This merge request adds support for the interactive web terminal on Windows. Until now, the interactive web terminal was not supported on Windows because PowerShell and Pwsh were not supported, due to this error.

This MR introduces a new shell type, InteractiveShell. This is needed because InteractiveShell requires a different entrypoint than NormalShell or LoginShell. When the shell is PowerShell or Pwsh, PowershellDockerCmd will modify the entrypoint; when the shell is Bash, it simply does nothing, since interactive web terminal in Bash is already works.

Why was this MR needed?

Because there is no interactive web terminal available, debugging Docker containers is very diffcult. This MR addresses this problem by adding support for Pwsh and PowerShell shells.

What’s the best way to test this MR?

Open the interactive web terminal using all supported shells and operating systems, and verify that it works as expected.

What are the relevant issue numbers?

Edited by Axel von Bertoldi

Merge request reports

Loading