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

Add a tiny alpine based notebook #356

Closed
wants to merge 1 commit into from
Closed

Add a tiny alpine based notebook #356

wants to merge 1 commit into from

Conversation

yuvipanda
Copy link
Contributor

When doing live demos of JupyterHub container based deployments,
showmanship is important. And one big aspect of it is 'time taken
from nothing at all to running single-user container'. Image pull
times are a big contributor to this first time demo experience -
and all the current docker-stacks images are too big to give a
'pop'.

This image is optimized for size and demo-worthiness only. Not
to be used for anything else, ideally. Part of the demo can be
configuring the spawner to use a different dockerstack image -
this provides a nice way to explain why it is slow without it
taking away from the initial demo's speed.

When doing live demos of JupyterHub  container based deployments,
showmanship is important. And one big aspect of it is 'time taken
from nothing at all to running single-user container'. Image pull
times are a big contributor to this first time demo experience -
and all the current docker-stacks images are too big to give a
'pop'.

This image is optimized for size and demo-worthiness only. Not
to be used for anything else, ideally. Part of the demo can be
configuring the spawner to use a different dockerstack image -
this provides a nice way to explain why it is slow without it
taking away from the initial demo's speed.
@yuvipanda
Copy link
Contributor Author

I'm currently using https://github.com/yuvipanda/jupyterhub-simplest-k8s/blob/master/singleuser/Dockerfile for demos, but that's in my personal repo and hence not ideal. Also is too big ;)

@yuvipanda
Copy link
Contributor Author

Am also happy to move this to a different repo - there needs to be somewhere for the kubespawner specific hub to live as well.

@parente
Copy link
Member

parente commented Mar 19, 2017

Hey @yuvipanda. This is a good thing to have. Let's chat about whether we want to maintain it in docker-stacks or not. Do you see Jupyter users adopting it for demos or just the core team? If you think many will benefit from it, then there's a few more things that should be done before we merge it:

  1. Update the Makefile in the root of docker-stacks to rebuild this image in the same manner as the other images.
  2. Add it to the image inheritance diagram in the README so users know that it sits outside the rest of the image hierarchy. (The source+editor link of the image is in the alt-tag of the image in the README.)
  3. Pin the alpine:3.5 image to an image sha256 if it tends to rev without a tag version change. (The updates to debian:jessie used to cause grief.)
  4. Create the new repo on DockerHub to host it. (I can do this part. Steps are in the README here.)

@yuvipanda
Copy link
Contributor Author

Thanks @parente. The more I think about it, the more I feel it doesn't actually belong here. It shouldn't be used for anything other than demo purposes, and is outside the stack hierarchy here. So I think this should live somewhere else (TBD), and I'll close this PR for now.

@yuvipanda yuvipanda closed this Mar 19, 2017
@parente
Copy link
Member

parente commented Mar 19, 2017

There is https://github.com/jupyter/docker-demo-images too. It currently contains the kitchen-sink image running under tmpnb.org with its own Makefile for building it. Maybe it would fit there?

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

Successfully merging this pull request may close these issues.

2 participants