From 61057bcbb39b95c4403427eff8939cb43153242b Mon Sep 17 00:00:00 2001 From: panda Date: Wed, 22 Aug 2018 00:40:42 +0200 Subject: [PATCH] first commit --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 3029c76..2bd19d4 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,14 @@ # Docker_Pshitt -#Build the container: +## Build the container: docker build -t pshitt_dockerized . -#run the container: +## run the container: docker run -d -v /etc/ssh:/srv/pshitt/_HOST_SSH_KEYS -v /pshitt/_LOG:/srv/pshitt/_LOG --name pshitt_dockerized -p 2222:2222 pshitt_dockerized notes: -1-the ssh keys used are the same of the host, this is wanted, to avoid using pshitt's default which are always the same thus easily identifiable -2-the logs are written on the local fs in /pshitt/_LOG -3- the port on which pshitt listens is redirected on the host and is 2222 +1. the ssh keys used are the same of the host, this is wanted, to avoid using pshitt's default which are always the same thus easily identifiable +2. the logs are written on the local fs in /pshitt/_LOG +3. the port on which pshitt listens is redirected on the host and is 2222 -#Start the container: +## Start the container: docker start pshitt_dockerized