# This is a comment #FROM ubuntu:12.04 FROM registry.aliyuncs.com/docker/ubuntu14.04 MAINTAINER Docker lawsonduan <[email protected]> #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
时间: 2024-10-11 17:59:10