Based on Centos7 and it has ssh running
$ docker build -t=jgois/docker_centos7_with_ssh$ docker run -d -P -t -i jgois/docker_centos7_with_sshor
$ docker run -d -P -p 0.0.0.0:2222:22 -t -i jgois/docker_centos7_with_ssh$ ssh -p 2222 root@localhost- and the password is password