Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The command should give you a output similar to this: 

 

4 - Connecting to jupyter

...

Code Block
languagebash
themeMidnight
titleConnect to server
collapsetrue
ssh -L XXXX:localhost:YYYY <username>@<hostname>

Where XXXX corresponds to any unused ( >1023) port on your local machine. And YYYY corresponds to the docker host machine port you mapped to 8888 when running the container.

 

If you’re working on windows; you might not be able to run the command above. However, the program you used to establish your initial connection with the server most likely has an option for setting up an SSH tunnel as well. A tutorial on how to do this with PuTTY can be found here.


Now, if you open your favorite web browser and go to localhost:XXXX, you should be met with a jupyter notebook sign-in page like the one shown below.

 

 



 

 

Info

Content by Label
showLabelsfalse
max5
spacesailab
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "docker" and type = "page" and space = "ailab"
labelsDocker

...