# This is a comment #FROM ubuntu:12.04 FROM registry.aliyuncs.com/docker/ubuntu14.04 MAINTAINER Docker lawsonduan <13911151950@163.com> #RUN apt-get update RUN apt-get install -y openssh-server RUN mkdir -p /var/run/sshd RUN echo 'root:futong-jw' |chpasswd EXPOSE 22 ENTRYPOINT /usr/sbin/sshd -D
转载于:https://blog.51cto.com/031028/1837005