GithubHelp home page GithubHelp logo

rattydave / docker-jupyterhub Goto Github PK

View Code? Open in Web Editor NEW
16.0 16.0 12.0 506 KB

Multi user Jupyterhub with C++, Java, Python, Tensorflow, Julia, SQL, NodeJS, Bash and more!

Dockerfile 7.77% Shell 4.85% Python 59.52% Jupyter Notebook 27.86%
beakerx clojure groovy java jupyter-notebook jupyterhub machine-learning scala sql torch

docker-jupyterhub's People

Contributors

rattydave avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

docker-jupyterhub's Issues

SystemError with Julia Pkg: Permissions problem?

Hi,
Excellent docker image here, and this is exactly what I've been looking for. I was trying to run Julia in this container and, when attempting to install a new package using Pkg, I was running into a problem where I would get

SystemError: opening file "/usr/share/julia/environments/v1.4/Project.toml": Permission denied

and a lot of other output just showing that there was an error. It was fixed when I ran

docker exec jupyterhub chmod 777 /usr/share/julia/environments/v1.4/Manifest.toml
docker exec jupyterhub chmod 777 /usr/share/julia/environments/v1.4/Project.toml

however, this seems a little hacky for the scenario. I'm unfamiliar with how this project sets up the Julia environment, so I was wondering if you had a better (more permanent) solution to this problem that is more attuned to the user level.

Using host authentication for the logging in & individual+shared working dirs.

Thanks for this docker script. I have couple of questions -

  1. I am trying to use the login profile (username and password) of the host server. How do I do this?
  2. I want to configure volume from /home/ (on host) to /home/ on the image. Looked at the jupyterhub_config.py, looks like in notebook_dir I can specify only one dir. I was looking for a way to add one shared directory between all users, where they can store shared scripts and and rest of them be private to each user.

Segmentation Fault with some ncurses programs

After apt-installing them, NCDU works, aptitude and ranger segfault..

root@a8189b034115:/home/user# aptitude
aptitude: /usr/local/lib/libncursesw.so.6: no version information available (required by aptitude)
aptitude: /usr/local/lib/libncursesw.so.6: no version information available (required by aptitude)
aptitude: /usr/local/lib/libncursesw.so.6: no version information available (required by /lib/x86_64-linux-gnu/libcwidget.so.4)
aptitude: /usr/local/lib/libncursesw.so.6: no version information available (required by /lib/x86_64-linux-gnu/libcwidget.so.4)
Ouch!  Got SIGSEGV, dying..
Segmentation fault

C++ kernel not starting

Hi,
I started the docker following your instruction. I clicked either on C++ 11, 14 or 17 to start C++ session. I started with few simple line of code :

#include
std::cout<<"test"<<std::endl;

And when I click the arrow ... nothing happen. The notebook hang waiting for the kernel to start. Bellow are the message from Jupiter log:

[I 2021-09-20 17:03:44.611 SingleUserNotebookApp restarter:120] KernelRestarter: restarting kernel (1/5), keep random ports
/usr/local/lib/python3.9/json/encoder.py:257: UserWarning: date_default is deprecated since jupyter_client 7.0.0. Use jupyter_client.jsonutil.json_default.
return _iterencode(o, 0)
[W 2021-09-20 17:04:38.808 SingleUserNotebookApp handlers:344] Timeout waiting for kernel_info reply from 46d3613d-e351-499a-9027-aa390fc6b12a
[W 2021-09-20 17:04:38.809 SingleUserNotebookApp handlers:344] Timeout waiting for kernel_info reply from 46d3613d-e351-499a-9027-aa390fc6b12a
[I 2021-09-20 17:04:41.393 JupyterHub log:189] 204 DELETE /hub/api/users/gillard/tokens/a2 ([email protected]) 73.74ms
[W 2021-09-20 17:04:43.454 SingleUserNotebookApp handlers:233] Nudge: attempt 10 on kernel 46d3613d-e351-499a-9027-aa390fc6b12a
[... previous message repeat many ... many times]
Saving file at /Untitled.ipynb
[E 2021-09-20 17:05:38.753 SingleUserNotebookApp web:1789] Uncaught exception GET /user/gillard/api/kernels/46d3613d-e351-499a-9027-aa390fc6b12a/channels?session_id=32b1c354-a33a-4461-a3a8-7a11e461502f (172.17.0.1)
HTTPServerRequest(protocol='http', host='0.0.0.0:8000', method='GET', uri='/user/gillard/api/kernels/46d3613d-e351-499a-9027-aa390fc6b12a/channels?session_id=32b1c354-a33a-4461-a3a8-7a11e461502f', version='HTTP/1.1', remote_ip='172.17.0.1')
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/tornado/websocket.py", line 956, in _accept_connection
await open_result
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 328, in __wakeup
future.result()
tornado.util.TimeoutError: Timeout
17:05:38.758 [ConfigProxy] error: 503 GET /user/gillard/api/kernels/46d3613d-e351-499a-9027-aa390fc6b12a/channels read ECONNRESET
[E 2021-09-20 17:05:38.765 SingleUserNotebookApp web:1789] Uncaught exception GET /user/gillard/api/kernels/46d3613d-e351-499a-9027-aa390fc6b12a/channels?session_id=2dfe7903-6b34-495e-b63c-b0fdd0e2c376 (172.17.0.1)
HTTPServerRequest(protocol='http', host='0.0.0.0:8000', method='GET', uri='/user/gillard/api/kernels/46d3613d-e351-499a-9027-aa390fc6b12a/channels?session_id=2dfe7903-6b34-495e-b63c-b0fdd0e2c376', version='HTTP/1.1', remote_ip='172.17.0.1')
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/tornado/websocket.py", line 956, in _accept_connection
await open_result
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 328, in __wakeup
future.result()
tornado.util.TimeoutError: Timeout

What did I do wrong ?

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.