An open API service indexing awesome lists of open source software.

https://github.com/s1ntaxe770r/ssh-dockerfile

run ssh within your docker container
https://github.com/s1ntaxe770r/ssh-dockerfile

docker ssh

Last synced: about 1 year ago
JSON representation

run ssh within your docker container

Awesome Lists containing this project

README

          

# SSH-dockerfile

This Dockerfile creates an ssh service inside a docker container

![Docker](https://github.com/s1ntaxe770r/SSH-dockerfile/workflows/Docker/badge.svg)

* default user and password is test

i also wrote about why you'd want to do this here [here](https://dev.to/s1ntaxe770r/how-to-setup-ssh-within-a-docker-container-i5i)

## 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`