Interesting I just realized I was using the precise repo vs the trusty repo
and when I switch root no longer can log in.

Opened an issue as I was able to reproduce this on both RHEL and Ubuntu
https://github.com/dotcloud/docker/issues/5554


On Fri, May 2, 2014 at 4:23 AM, Sameer Naik <notifications@github.com>wrote:

> In Dockerfile:
>
> >  RUN /app/setup/install
> >
> >  ADD authorized_keys /root/.ssh/
> > +RUN chmod 700 /var/run/sshd
>
> @arnos <https://github.com/arnos> maybe you can combine this with one of
> the above RUN statements.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/sameersbn/docker-ubuntu/pull/2/files#r12222366>
> .
>