From 4ddc923b90c3ec9cb15a55479038d28c9b742d14 Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Sun, 29 Jun 2014 11:58:37 +0530 Subject: [PATCH] do not start ssh deamon, use nsenter for shell access to the container --- Dockerfile | 2 -- assets/init | 1 - authorized_keys | 0 3 files changed, 3 deletions(-) delete mode 100644 authorized_keys diff --git a/Dockerfile b/Dockerfile index 58107f0..6a283e3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,8 +14,6 @@ RUN /app/setup/install ADD assets/init /app/init RUN chmod 755 /app/init -ADD authorized_keys /root/.ssh/ - EXPOSE 53/udp EXPOSE 10000 diff --git a/assets/init b/assets/init index aa546c3..3942dbc 100755 --- a/assets/init +++ b/assets/init @@ -9,7 +9,6 @@ echo User: root Password: $ROOT_PASSWORD # start supervisord /usr/bin/supervisord -supervisorctl start sshd chmod 775 /app/data diff --git a/authorized_keys b/authorized_keys deleted file mode 100644 index e69de29..0000000