Skip to content

Scripts to run Jupyter on a remote docker container

Notifications You must be signed in to change notification settings

pokidyshev/ds-docker-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker for Data Science

This repo contains scripts to run Jupyter (and install all DS libs) on a remote docker container.

How to use this code

  1. Make sure you have installed NVIDIA driver and nvidia-docker

    • nvidia-docker version
    • nvidia-smi
  2. 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

  3. Clone repo to the remote and run build.sh.

  4. 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

About

Scripts to run Jupyter on a remote docker container

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published