-
Notifications
You must be signed in to change notification settings - Fork 739
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
bocker bash doesn't display a prompt #16
Comments
Probably the same issue. I created a container with a sshd running. When I login, I get the following message: PTY allocation request failed on channel 0 |
You can try passing -t I believe? |
ssh -t 10.0.0.15 results in a direct disconnect after the "PTY allocation request failed on channel 0" message. |
Okay, doing some more investigation:
|
I'm on a roll! I fixed the SSH issue by running this command in the container:
|
@basdp Thanks for reporting this. It looks like |
It's probably worth mounting pts by default. I don't run SSH in containers, can you suggest me a Docker image to test with with? |
If still relevant, this one: https://hub.docker.com/r/evarga/jenkins-slave/ |
It looks like bocker run bash works, but there is no way I can get a prompt. Even 'export PS1="$ "' doesn't work. It is not that big of a problem, but I'm afraid this will just be the tip of the iceberg.
The text was updated successfully, but these errors were encountered: