rattydave / docker-jupyterhub Goto Github PK
View Code? Open in Web Editor NEWMulti user Jupyterhub with C++, Java, Python, Tensorflow, Julia, SQL, NodeJS, Bash and more!
Multi user Jupyterhub with C++, Java, Python, Tensorflow, Julia, SQL, NodeJS, Bash and more!
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.
Thanks for this docker script. I have couple of questions -
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
RUN rm /usr/local/pkgs/*.bz2
?
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 ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.