User Tools

Site Tools


wiki:dockertest

How to test docker image

Ways to test Jupyter notebook images:

docker run --name test --rm -it -p 8888:8888/tcp -v /srv/home:/home jupyterlab-ubuntu-nvidia-scipy-rjulia:v1.3.2-dev bash

Once logged into the docker container run this to start up notebook:

/usr/local/bin/start-notebook.sh

Now on your local system you need to setup ssh tunnel to the controller server as below:

ssh -N -f -L localhost:8888:localhost:8888 keistc@dev-controller.datasci.oregonstate.edu

Once that is setup you can now run browser on your local station with the URL that is displayed on the container after starting up the notebook server.

wiki/dockertest.txt · Last modified: 2023/09/07 13:33 by keistc

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki