[IPython-dev] Deploying JupyterHub for Education

Kenneth Tran one at kentran.net
Wed Apr 22 22:43:00 EDT 2015


Another related question is: why did you need to spawn Jupyter Notebook
Servers in Docker containers? Could the node just launch a Jupyter Notebook
Server *as the user* when he/she logs in*?*

On Wed, Apr 22, 2015 at 7:28 PM, Kenneth Tran <one at kentran.net> wrote:

> Jess,
>
> I was reading your blog post and got stuck at
>
>
>    1. Build a different image for each user and create that user inside
>    the container at build time. Then, run the container as that user.
>    2. Build a single image that runs as root, creates the user at
>    runtime, and then runs the notebook server itself as the user with sudo
>    .
>
> What would prevent you from the following: (i) build a single image as
> root; (ii) spin up a container and mount the home directory (plus files
> such as /etc/group,passwd,shadow) on the host to the container file system;
> (iii) then run Jupyter notebook server as the user?
>
> -Ken
>
>
> On Wed, Mar 25, 2015 at 12:36 PM, Jessica B. Hamrick <
> jhamrick at berkeley.edu> wrote:
>
>> Hi all,
>>
>> Over the past few months I've set up a deployment of JupyterHub backed by
>> Docker and Docker Swarm for a class that I'm teaching this spring. I wrote
>> a blog post about it over on the Rackspace developer blog, if you're
>> interested:
>>
>> https://developer.rackspace.com/blog/deploying-jupyterhub-for-education/
>>
>> Thanks to people who helped out with this, especially Min and Kyle!
>>
>> Cheers,
>> Jess
>>
>> --
>> UC Berkeley, Department of Psychology
>> Computational Cognitive Science Lab
>> http://www.jesshamrick.com
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150422/bb75768b/attachment.html>


More information about the IPython-dev mailing list