You can build your own image, and add files there:
FROM jupyter/singleuser
ADD mynotebook.ipynb /path/to/mynotebook.ipynb
Then build your image:
docker build -t myimage .
Then tell DockerSpawner to use your image:
# juptyerhub_config.py
c.DockerSpawner.container_image = 'myimage'
-MinRK
--
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/cba00416-9ea3-4fba-8073-42190387277f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/05c1491c-6d2b-49ca-b290-ebec0fb23a1c%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/ecf186ff-a6a9-4ad4-ba78-73f178cd3618%40googlegroups.com.
[I 2016-03-15 09:41:22.153 JupyterHub app:558] Loading cookie_secret from /home/ubuntu/dockerspawner/examples/oauth/jupyterhub_cookie_secret
[W 2016-03-15 09:41:22.176 JupyterHub app:292]
Generating CONFIGPROXY_AUTH_TOKEN. Restarting the Hub will require restarting the proxy.
Set CONFIGPROXY_AUTH_TOKEN env or JupyterHub.proxy_auth_token config to avoid this message.
[I 2016-03-15 09:41:22.202 JupyterHub dockerspawner:333] Container 'jupyter-tocunha' is gone
[W 2016-03-15 09:41:22.202 JupyterHub dockerspawner:304] container not found
[I 2016-03-15 09:41:22.219 JupyterHub dockerspawner:333] Container 'jupyter-ingmarweber' is gone
[W 2016-03-15 09:41:22.219 JupyterHub dockerspawner:304] container not found
[I 2016-03-15 09:41:22.225 JupyterHub dockerspawner:333] Container 'jupyter-test-jupyter' is gone
[W 2016-03-15 09:41:22.225 JupyterHub dockerspawner:304] container not found
[E 2016-03-15 09:41:22.231 JupyterHub app:1109] Failed to bind hub to http://172.31.27.200:8081/hub/
[E 2016-03-15 09:41:22.231 JupyterHub app:1177]
Traceback (most recent call last):
File "/home/ubuntu/dockerspawner/examples/oauth/src/jupyterhub/jupyterhub/app.py", line 1175, in launch_instance_async
yield self.start()
File "/home/ubuntu/dockerspawner/examples/oauth/src/jupyterhub/jupyterhub/app.py", line 1107, in start
self.http_server.listen(self.hub_port, address=self.hub_ip)
File "/usr/local/lib/python3.4/dist-packages/tornado/tcpserver.py", line 126, in listen
sockets = bind_sockets(port, address=address)
File "/usr/local/lib/python3.4/dist-packages/tornado/netutil.py", line 196, in bind_sockets
sock.bind(sockaddr)
OSError: [Errno 98] Address already in use