Skip to content

About

Docker image/container materials for a SSH Server

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

Repository files navigation

Necessary Materials to Build a Docker Image of a SSH Server

Create the Docker Initial Image

  1. Change/Customize your image name/tag into _build.sh

Refers Dockerfile: Dockerfile.sshd

  1. Run the shell file _build.sh to build the initial docker image

Create/Run the Container

  1. Change/Customize your image name/tag, hosts, ports and container name into _run.sh

Refers init command: launcher_sshd.sh

  1. Run _run.sh to create and start the container from image created at step 1

Then use docker stop|start container_name commands to stop/start the container
Check your container with docker ps [-a]
Remove your container with docker rm container_name

BASH Shell Session to the Container

  1. Change/Customize your container name into _exec.sh

  2. Run _exec.sh to create a bash shell session to the container

About

Docker image/container materials for a SSH Server

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages