Skip to content

Ayc0/tutorial-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker image for shell introduction

Works with thuv.

Files

  • Dockerfile, install packages and copies scripts/config
  • setup.sh, Dockerfile entrypoint, pass login|password as arguments of docker run
  • tests.sh, Scenario of a user (run over ssh)

Commands

  • Build: docker build -t shell_tuto .
  • Run: docker run -it --rm -p 3000:22 shell_tuto <login> <passwd>
  • SSH: ssh -p 3000 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null <login>@0.0.0.0
  • To run tests: ssh -p 3000 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -t tests@0.0.0.0 '~/tests.sh'

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published