-
Notifications
You must be signed in to change notification settings - Fork 57
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
Enable SSH access to container #7
Comments
hmm ... I'm not sure this one makes sense. I'd argue that ssh'ing into a docker box is kind of missing the essence of using it |
@Painted-Fox what are your thoughts on this one? I think we could close this for now ... |
WIth @pengux's change 60f2ec5, we switched to using phusion/baseimage, which comes with support for SSH out of the box. There's even a helpful section in their README about Login to the container via SSH. I've disabled SSH for now, but I think SSH will be useful (especially for troubleshooting long running containers). I haven't put too much thought into this feature yet. |
Just for record, if you want to troubleshoot easily a Docker container, you can use nsenter. This way, no need of SSH. |
An idea is to use the ADD command to add an authorized_keys file to the image when it is being built
The text was updated successfully, but these errors were encountered: