Giter Site home page Giter Site logo

Comments (2)

anaderi avatar anaderi commented on July 28, 2024

@lodurality , thanks for reporting.
Indeed we’ve changed things a bit how REP runs within Docker.
in particular:

  • default port number is back to Jupyter default port number 8888
  • for most docker commands you have to use make

Also

  • thanks for typo notice: «git checkout» -> «git clone» on Wiki

  • between step 5 & 6 it was complaining about container with name ‘rep’, not image. so to clear previous one, just run make remove

  • I’ve added option for make to specify notebooks folder - -e NOTEBOOKS=path_my_notebooks_folder (pick it from https://github.com/anaderi/rep/blob/master/Makefile)
    e.g.:

    make -e NOTEBOOKS=~/notebooks run
    

PS you don’t have to use sudo (after adding yourself to docker group by usermod -G docker $(whoami))

from rep.

lodurality avatar lodurality commented on July 28, 2024

It looks like make doesn't see/use this option. Here is what I did:

  1. I removed all containers and images.
  2. Added myself to docker group.
  3. Changed Makefile in rep directory for a new one.
  4. Installed REP container again
  5. Tried make -e NOTEBOOKS=~/notebooks run, but it still starts notebook in in /var/lib/docker/volumes/.../_data/.
  6. Also tried to run it with option NOTEBOOK_DIR instead of NOTEBOOKS, because I found the following code in output, but it didn't work either.
    NOTEBOOK_DIR=/notebooks
    git clone $JPY_GITHUBURL $NOTEBOOK_DIR
    $HOME/miniconda/envs/jupyterhub_py3/bin/jupyterhub-singleuser \
      --port=8888 \
      --ip=0.0.0.0 \
      --user=$JPY_USER \
      --cookie-name=$JPY_COOKIE_NAME \
      --base-url=$JPY_BASE_URL \
      --hub-prefix=$JPY_HUB_PREFIX \
      --hub-api-url=$JPY_HUB_API_URL \
      --notebook-dir=$NOTEBOOK_DIR
    exit $?

from rep.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.