This repo contains scripts to run Jupyter (and install all DS libs) on a remote docker container.
-
Make sure you have installed NVIDIA driver and nvidia-docker
nvidia-docker version
nvidia-smi
-
Set up the connection with remote server:
ssh -L listening_remote_port:host:hostport user@remote
. For example:ssh -L 9999:localhost:9999 user@remote
-
Clone repo to the remote and run
build.sh
. -
Then run:
nvidia-docker run -dit --restart unless-stopped --ipc=host -p remote_host_port:container_port -v /path/to/host/dir:/path/to/container/dir -v /any/other/host/dir:/any --name sandpiturtle_lab sandpiturtle/lab