Set up GlassFish 4.1 Nova-Docker Container via phusion/baseimage on RDO Juno


The problem here is that  phusion/baseimage per  should provide ssh access to container , however it doesn’t. Working with docker container there is easy workaround suggested by Mykola Gurov  in
# docker exec container-id exec /usr/sbin/sshd -D 
which is of no help in case of Nova-Docker Container.  To bring sshd back to life
I added to Dockerfile :-
  RUN echo “/usr/sbin/sshd > log &” >> /etc/my_init.d/

Complete text of posting may be viewed here