storage/docs/sources/examples/running_ssh_service.Dockerfile

17 lines
323 B
Docker

# sshd
#
# VERSION 0.0.1
FROM debian
MAINTAINER Thatcher R. Peskens "thatcher@dotcloud.com"
# make sure the package repository is up to date
RUN apt-get update
RUN apt-get install -y openssh-server
RUN mkdir /var/run/sshd
RUN echo 'root:screencast' |chpasswd
EXPOSE 22
CMD ["/usr/sbin/sshd", "-D"]