#jupyterhub_config.py
c = get_config()
...
c.DockerSpawner在此输入代码...You can modify the command in your Dockerfile, e.g.
FROM jupyter/scipy-notebook:c8797824e8c0
ADD preflight.sh
CMD ['preflight.sh']
where preflight.sh is something like:
#!/usr/bin/env bash
echo 'hello! I'm about to start'
# your setup code here
# your script should end with this:
exec jupyterhub-singleuser $@
-Min
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/7c2fc6bd-7b60-46dd-9f1d-25d7beb8e99a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.