在Docker中运行SSH进程服务 === 以下是用 设置sshd服务容器,您可以使用连接并检查其他容器的卷,或者可以快速访问测试容器。 sshd # VERSION 0.0.1 FROM ubuntu:12.04 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