Closed wowczarczyk closed 10 years ago
I've run into the same issue. Did you manage to get round it voodoorider?
Cheers
No, unfortunately not. I started using jhipster installed directly on OS without Docker at all. Pretty unfortunate...
Thanks, I'm wondering if it's because my Ubuntu version is only 12.04 instead of 14.04. Might fire up a new VM to try later.
I had the same issue and, seeing the aborted docker shell reported 14.04 while the host is 12.04, I upgraded my existing host and this fixed it with no complications.
post upgrade: Docker version 1.1.2, build d84a070
Thanks @awaddell I didn't know how to reproduce this. So you need te have the same Ubuntu version for the host and the container... Talk to me again about container portability...
@jdubois I speculated that having a future version of Ubuntu in the container might be the cause of this particular problem but I wouldn't rush to assume the same of an older version or that they need to be the same version.
I can see that I installed docker 1.1.2 on August 4th so the docker version has not changed.
I was running kernel version 3.8.0-44-generic with 12.04LTS and am now running 3.13.0-35-generic with 14.04LTS
This thread: http://stackoverflow.com/questions/24217566/for-docker-will-apps-stop-working-when-host-kernel-is-updated
says:
"Should major updates to the libc happen, this library is not shared between the host and the containers, it is embedded in your container anyway."
And (I think) that should be all that sshd/bash/sh need.
I've had a look around for core dumps or logs but the logging is very spartan.
Can I suggest you leave the default Ubuntu 14.04LTS logging as is or at least allow to retain some logging? I can't see beyond my most recent boot so visibility to the issue is gone.
Also, might be an idea to disable apparmor for this demo project as apparmor is up there in the list of suspects.
Thanks for the project!
@awaddell thanks for the feedback. We will need to have a look at apparmor (cc @jmirc )
I was following the docker tutorial and shorty after executing this step:
ssh -p 4022 jhipster@localhost
I get:
For some reason the SSH connection is immediately closed