From dd2d8f1bfe5a873a2044903ffac43d99ddc975e4 Mon Sep 17 00:00:00 2001 From: yangyu Date: Fri, 27 Jul 2018 23:59:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8CMD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sshd/centos/7.0/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sshd/centos/7.0/Dockerfile b/sshd/centos/7.0/Dockerfile index 0a049f1..88c2fff 100644 --- a/sshd/centos/7.0/Dockerfile +++ b/sshd/centos/7.0/Dockerfile @@ -13,4 +13,4 @@ RUN sed -i "s/UsePAM.*/UsePAM no/g" /etc/ssh/sshd_config && \ RUN echo "123456" | passwd --stdin root -ENTRYPOINT ["/usr/sbin/sshd","-D"] +CMD ["/usr/sbin/sshd","-D"]