From d86e319731294675d4238e8e7246ec4165090fbe Mon Sep 17 00:00:00 2001 From: mingzailao Date: Fri, 11 Aug 2023 23:03:28 +0800 Subject: [PATCH] auto start sshd servicve --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3a7163f..85cc4cf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM nvidia/cuda:10.1-cudnn7-devel-ubuntu18.04 +FROM nvidia/cuda:11.8.0-cudnn8-devel-ubuntu18.04 # encoding RUN echo "LC_ALL=en_US.UTF-8" >> /etc/environment @@ -43,4 +43,4 @@ EXPOSE 22 RUN usermod -s /bin/zsh root -ENTRYPOINT ["/bin/zsh"] +ENTRYPOINT service ssh start && bash