Comments (7)
what image are you using?
from dockerspawner.
Sorry, I should have mentioned that. I am attempting to use the image pulled from Docker Hub.
from dockerspawner.
I've also got this problem, using the systemuser image
from dockerspawner.
It looks like the new user created doesn't get the proper PATH
variable, this is truncated output from sudo -E -u $USER sh -c export
PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
If I modify the script to say sudo -E PATH="/opt/conda/bin:$PATH" -u $USER ...
then it gets past this error and runs the notebook but more problems occur, with a connection causing a bunch of exceptions. Not sure if this is related or not to the root issue.
from dockerspawner.
That's probably on the right track. I bet it's a change in the upstream image.
from dockerspawner.
This should be working after #62
from dockerspawner.
I can't get it to work, either singleuser or systemuser. I had to make a modification for systemuser (#63) but when I try to login to jupyterhub the jupyter docker crashes. Here is a short version of the log:
/opt/conda/lib/python3.4/site-packages/IPython/utils/traitlets.py:5: UserWarning: IPython.utils.traitlets has moved to a top-level traitlets package.
warn("IPython.utils.traitlets has moved to a top-level traitlets package.")
[I 2016-01-15 21:05:24.282 testing notebookapp:499] Writing notebook server cookie secret to /home/jovyan/.local/share/jupyter/runtime/notebook_cookie_secret
[I 2016-01-15 21:05:24.584 testing notebookapp:1063] Serving notebooks from local directory: /home/jovyan/work
[I 2016-01-15 21:05:24.586 testing notebookapp:1063] 0 active kernels
[I 2016-01-15 21:05:24.591 testing notebookapp:1063] The IPython Notebook is running at: http://0.0.0.0:8888/user/testing/
[I 2016-01-15 21:05:24.593 testing notebookapp:1064] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[I 2016-01-15 21:05:24.614 testing log:47] 302 GET /user/testing (172.17.0.1) 10.53ms
[I 2016-01-15 21:05:24.680 testing log:47] 302 GET /user/testing/ (192.168.56.1) 0.97ms
[E 2016-01-15 21:05:24.721 testing web:1524] Uncaught exception GET /user/testing/tree (192.168.56.1)
HTTPServerRequest(protocol='http', host='192.168.56.101:8000', method='GET', uri='/user/testing/tree', version='HTTP/1.1', remote_ip='192.168.56.1', headers={'X-Forwarded-Port': '8000', 'Upgrade-Insecure-Requests': '1', 'Accept-Encoding': 'gzip, deflate, sdch', 'X-Forwarded-Proto': 'http', 'Referer': 'http://192.168.56.101:8000/hub/home', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 'X-Forwarded-For': '192.168.56.1', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36', 'Host': '192.168.56.101:8000', 'Accept-Language': 'en-US,en;q=0.8', 'Connection': 'close', 'Cookie': 'jupyter-hub-token-testing="2|1:0|10:1452891924|25:jupyter-hub-token-testing|44:OGMwOWFhYzA4MTkzNDNiZTg1NWQxYjAwOTA1OGY0MmU=|747461b044b1cf193e63e870259bd34a99f4e7cf82fdaf274ddf611681f4ea9a"'})
Traceback (most recent call last):
...
TypeError: <tornado.httputil.HTTPHeaders object at 0x7fc0c86e57b8> is not JSON serializable
from dockerspawner.
Related Issues (20)
- Spawned container network settings not populated
- docker-py currently unmaintained, consider a replacement HOT 3
- "host" network_mode is incompatible with port_bindings HOT 2
- Extra Create Kwargs Overwrite Create Kwargs HOT 2
- Named server docs do not include information on `name_template` configuration HOT 3
- SQLAlchemy 2 compatibility issue with JupyterHub<3.0 HOT 3
- Discussion: SQLAlchemy2 compatibility issue HOT 8
- imagename and tag not sanitized in name_template HOT 2
- Unable to change docker container name HOT 3
- Podman tests fails in CI due to restricted permissions in podman service started by non-root user HOT 1
- Not able to log to jupyterhub notebook as admin HOT 3
- Escape defaults causing mixed case usernames to have problems with the SystemUserSpawner HOT 2
- Add docs url to the right side of GitHub repo HOT 2
- Running SwarmSpawner with `c.SwarmSpawner.extra_create_kwargs = {"user": "root"}` fails HOT 1
- Allow passing exposed port arguments to docker swarm service creation HOT 3
- Interesting link in singleuser container HOT 2
- Add implementation for delete_forever HOT 1
- Test failures in main branch
- Request for image pull secrets to be passed for docker spawner single user image HOT 4
- Jupyterhub sample /examples/oauth not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dockerspawner.