PWSH 7 default shell in RHEL based container #192
Unanswered
JDubb-At-Nelnet
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using a base image that we use in Gitlab pipelines that runs scripts in bash and pwsh 7. Is is a RHEL based container. I need to maintain the scripts that run in the pipeline, so I'm trying to set up a devcontainer where I can debug them locally on my windows machine.
Here is my basic devcontainer.json setup:
The container build builds fine, but I do see errors pertaining to shell in the log:
when I select new terminal, I get:
The terminal process "/sbin/nologin" failed to launch (exit code: 1).
but I can start a pwsh terminal if hit the down arror and choose PWSH from the list of terminals. How can I fix the error message and make PWSH the default terminal?
I should also add that I can start a debug of a *.ps1 script in the container and it works fine. Its just the integrated terminal that needs fixin'. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions