running_ssh_service.Dockerfile 328 B

12345678910111213141516
  1. # sshd
  2. #
  3. # VERSION 0.0.1
  4. FROM ubuntu:12.04
  5. MAINTAINER Thatcher R. Peskens "thatcher@dotcloud.com"
  6. # make sure the package repository is up to date
  7. RUN apt-get update
  8. RUN apt-get install -y openssh-server
  9. RUN mkdir /var/run/sshd
  10. RUN echo 'root:screencast' |chpasswd
  11. EXPOSE 22
  12. CMD ["/usr/sbin/sshd", "-D"]