بدون توضیح

panda d35cf6e379 first commit6 5 سال پیش
Dockerfile ba3d89606b first commit2 5 سال پیش
LICENSE 8f87949967 Initial commit 5 سال پیش
README.md d35cf6e379 first commit6 5 سال پیش
notes.txt a5463e0a38 first commit 5 سال پیش

README.md

Docker_Pshitt

  • based on ubuntu:18.04
  • weight: 519MB

Build the container:

docker build -t pshitt_dockerized .

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