/SSH-dockerfile

run ssh within your docker container

Primary LanguageDockerfile

SSH-dockerfile

This Dockerfile creates an ssh service inside a docker container

Docker

  • default user and password is test

i also wrote about why you'd want to do this here here

Building the image

docker build -t IMAGE_NAME .

Runing the image

docker run -p 22:22 IMAGE_NAME

Or simply pull the image

docker pull ghcr.io/s1ntaxe770r/image:latest