Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch user to jovyan #1

Open
rgbkrk opened this issue Jun 7, 2015 · 4 comments
Open

Switch user to jovyan #1

rgbkrk opened this issue Jun 7, 2015 · 4 comments

Comments

@rgbkrk
Copy link

rgbkrk commented Jun 7, 2015

Looks like you're using the jupyter/minimal image. Awesome!

Though not necessarily required, it seems like you could switch your default user back to jovyan so you don't have users running as root.

@freeman-lab
Copy link
Member

Thanks! This repo is actually outdated, we're now using the one over at https://github.com/CodeNeuro/notebooks/blob/master/worker/docker/base/Dockerfile.

For the base image, we wanted to include our own custom css / templates / nbprofile, and since the jupyter/minimal docker image already contained custom components, we ended up essentially duplicating it but linking to our own. Maybe there's a better way to more directly customize jupyter/minimal? We'd be happy to try and contribute to that.

And thanks for flagging the username in any case, we'll definitely fix that!

@rgbkrk
Copy link
Author

rgbkrk commented Jun 7, 2015

Ah! That's ok. You're also by no means being pushed to use jupyter/minimal. That was born of wanting a simpler build & deployment on my end.

@rgbkrk
Copy link
Author

rgbkrk commented Jun 7, 2015

Looking over it, maybe there's a series of images we should put out. Originally, that's what the ipython/ipython image series were for but I wanted to use conda for the demo images.

@freeman-lab
Copy link
Member

That's a great idea! Maybe one base image with the core conda install / setup / basic profile config, and others that also add the custom static assets (including the relevant changes to ipython_notebook_config.py). Something more modular would be really cool, but support for reusing image components still seems in development (moby/moby#12749).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants