Run an mpi application in docker
Solution 1:
Docker container is not like normal Ubuntu. The default Ubuntu container has allot of basic things missing (example: init, ssh daemon, cron)
Usually I use phusion base-image docker, goto like below to find out more about some basic issues in default Ubuntu docker and how those issues can be resolved.
http://phusion.github.io/baseimage-docker/
Solution 2:
I have met this problem recently. Install ssh package will fix this issue.