Skip to content

lune-sta/docker-sshd-jupyter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-sshd-jupyter

Example of a dockerfile with sshd and jupyter notebook.

How to use

  1. Clone
git clone [email protected]:lune-sta/docker-sshd-jupyter.git
cd docker-sshd-jupyter
  1. Add your public key
$ vim authorized_keys
# or
$ cat ~/.ssh/authorized_keys  >> ./authorized_keys
  1. Build a docker image
$ sudo docker build -t jupyter .
  1. Run in the background
$ sudo docker run -p 18888:8888 -p 10022:22 -v workdir:/workdir -d jupyter
  1. Login with ssh
$ ssh -p 10022 -i ~/.ssh/id_rsa [email protected]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published