Last active
August 29, 2015 13:56
-
-
Save gnue/8928369 to your computer and use it in GitHub Desktop.
sshd を起動する Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# sshd | |
# | |
# VERSION 0.0.1 | |
FROM ubuntu | |
RUN apt-get update | |
RUN apt-get install -y openssh-server | |
RUN mkdir /var/run/sshd | |
RUN echo "root:foobar" | chpasswd | |
EXPOSE 22 | |
CMD ["/usr/sbin/sshd", "-D"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment