run jupyterhub without system users

412 views
Skip to first unread message

Luca Delucchi

unread,
Aug 17, 2016, 9:27:59 AM8/17/16
to Project Jupyter
Hi everyone,

I'm new to jupyter, and I would like to use jupyterhub without create user in the system.

Is this possible? Maybe creating new Spawners?

Thanks a lot in advance
Luca

Carol Willing

unread,
Aug 17, 2016, 12:22:36 PM8/17/16
to jup...@googlegroups.com
Hi Luca,

Welcome to the Jupyter community and thanks for your question.

I’m not exactly sure from your message what you are hoping to do with JupyterHub. If you could provide some additional detail about the use case, I could be more helpful to you.

We do have some resources on JupyterHub that may be helpful to you:

- JupyterHub tutorial [Repo](https://github.com/jupyterhub/jupyterhub-tutorial) [YouTube presentation from PyData London](https://www.youtube.com/watch?v=gSVvxOchT8Y&feature=youtu.be)
- JupyterHub documentation on ReadTheDocs https://jupyterhub.readthedocs.io/en/latest/
- JupyterHub Mini Workshop July 2016 materials https://github.com/jupyterhub/jupyterhub-2016-workshop contains presentations on many different uses/implementations of JupyterHub

Another project that may be interesting to you is Jupyter’s tmpnb (https://github.com/jupyter/tmpnb) which provides temporary notebook servers to users. This can be used as an alternative to JupyterHub when anonymous, ephemeral notebooks are desired.

Carol

Carol Willing

Research Software Engineer
Project Jupyter at Cal Poly SLO

Director, Python Software Foundation

Signature Strengths
Empathy - Relator - Ideation - Strategic - Learner


--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/3ae77b4c-0aa1-4fc0-9204-f1b2f5d10fe4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

signature.asc

Luca Delucchi

unread,
Aug 18, 2016, 4:00:24 AM8/18/16
to Project Jupyter


Il giorno mercoledì 17 agosto 2016 18:22:36 UTC+2, Carol Willing ha scritto:
Hi Luca,


Hi Carol,
 
Welcome to the Jupyter community and thanks for your question.

I’m not exactly sure from your message what you are hoping to do with JupyterHub. If you could provide some additional detail about the use case, I could be more helpful to you.


I need to use JupyterHub for a course, I would like to have multiuser but I don't want to create several user on my OS. Probably I could use docker but if it possible I would like to don't use this solution
 
We do have some resources on JupyterHub that may be helpful to you:

- JupyterHub tutorial [Repo](https://github.com/jupyterhub/jupyterhub-tutorial) [YouTube presentation from PyData London](https://www.youtube.com/watch?v=gSVvxOchT8Y&feature=youtu.be)
- JupyterHub documentation on ReadTheDocs https://jupyterhub.readthedocs.io/en/latest/
- JupyterHub Mini Workshop July 2016 materials https://github.com/jupyterhub/jupyterhub-2016-workshop contains presentations on many different uses/implementations of JupyterHub


I already read something and I plan to look the London presentation ASAP. Thank to all the useful links
 
Another project that may be interesting to you is Jupyter’s tmpnb (https://github.com/jupyter/tmpnb) which provides temporary notebook servers to users. This can be used as an alternative to JupyterHub when anonymous, ephemeral notebooks are desired.


also this could be an idea but it use docker....
 
Carol

Carol Willing


ciao
Luca

Carol Willing

unread,
Aug 18, 2016, 6:47:36 AM8/18/16
to jup...@googlegroups.com
Hi Luca,

A few more suggestions since it seems you wish to use JupyterHub for teaching a course but would like to avoid using Docker.

1. Jupyter in Education mailing list has a helpful group of people using Jupyter and JupyterHub for teaching. https://groups.google.com/forum/#!forum/jupyter-education

2. We do have a reference deployment of JupyterHub https://github.com/jupyterhub/jupyterhub-deploy-teachingThe main use case targeted is small to medium groups of trusted users working on a single server. It does not use Docker.

I’m glad you plan to watch the PyData London talk. It’s one of the best tutorial for understanding and deploying JupyterHub that I have seen.

Good luck.

Carol


--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
signature.asc

MinRK

unread,
Aug 21, 2016, 4:17:07 PM8/21/16
to Project Jupyter
On Thu, Aug 18, 2016 at 10:00 AM, Luca Delucchi <lucad...@gmail.com> wrote:


Il giorno mercoledì 17 agosto 2016 18:22:36 UTC+2, Carol Willing ha scritto:
Hi Luca,


Hi Carol,
 
Welcome to the Jupyter community and thanks for your question.

I’m not exactly sure from your message what you are hoping to do with JupyterHub. If you could provide some additional detail about the use case, I could be more helpful to you.


I need to use JupyterHub for a course, I would like to have multiuser but I don't want to create several user on my OS. Probably I could use docker but if it possible I would like to don't use this solution

Using docker is generally the easiest way to run JupyterHub without creating system users. Notebooks always run as a particular user in the context where the server runs, so if you don't use docker, this means that the notebooks must run as a user on the host system. You can avoid creating system users for each Hub user, but you still need at least one user for the processes to run as. You could run all of the notebooks as the same user, but then all of your users will have the ability to interact with each other's files. Jupyter does not provide any tools for user isolation, it always relies on existing system-level tools to do this. The simplest way is unix system users. Other ways include creating an isolated context (remote machines, VMs, docker containers, etc.) in which to run each user's notebook server, via selecting or implementing the appropriate Spawner.

-MinRK
 
 
We do have some resources on JupyterHub that may be helpful to you:

- JupyterHub tutorial [Repo](https://github.com/jupyterhub/jupyterhub-tutorial) [YouTube presentation from PyData London](https://www.youtube.com/watch?v=gSVvxOchT8Y&feature=youtu.be)
- JupyterHub documentation on ReadTheDocs https://jupyterhub.readthedocs.io/en/latest/
- JupyterHub Mini Workshop July 2016 materials https://github.com/jupyterhub/jupyterhub-2016-workshop contains presentations on many different uses/implementations of JupyterHub


I already read something and I plan to look the London presentation ASAP. Thank to all the useful links
 
Another project that may be interesting to you is Jupyter’s tmpnb (https://github.com/jupyter/tmpnb) which provides temporary notebook servers to users. This can be used as an alternative to JupyterHub when anonymous, ephemeral notebooks are desired.


also this could be an idea but it use docker....
 
Carol

Carol Willing


ciao
Luca

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.

To post to this group, send email to jup...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages