- Change/Customize your image name/tag into
_build.sh
Refers Dockerfile:
Dockerfile.sshd
- Run the shell file
_build.sh
to build the initial docker image
- Change/Customize your image name/tag, hosts, ports and container name into
_run.sh
Refers init command:
launcher_sshd.sh
- 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 withdocker ps [-a]
Remove your container withdocker rm container_name
-
Change/Customize your container name into
_exec.sh
-
Run
_exec.sh
to create a bash shell session to the container