From 2f921b9dfc1e223aae193be709c8829d98faeb7d Mon Sep 17 00:00:00 2001 From: Adrian Dvergsdal Date: Thu, 17 Mar 2016 20:53:08 +0100 Subject: [PATCH] Create volume for /etc/ssh for persistent host keys --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 0517abc..5e97ea5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,8 @@ COPY sshd_config /etc/ssh/sshd_config COPY entrypoint / COPY README.md / +VOLUME /etc/ssh + EXPOSE 22 ENTRYPOINT ["/entrypoint"]