Merge pull request #17 from jtyberg/issue-16
Do not pass host config options in start_kwargs
This commit is contained in:
commit
76aa995ae2
@ -6,7 +6,7 @@ FROM jupyterhub/jupyterhub-onbuild:0.6.1
|
||||
RUN /opt/conda/bin/pip install \
|
||||
jupyterhub==0.6.* \
|
||||
oauthenticator==0.4.* \
|
||||
dockerspawner==0.3.*
|
||||
dockerspawner==0.4.*
|
||||
|
||||
# Copy TLS certificate and key
|
||||
ENV SSL_CERT /srv/jupyterhub/secrets/jupyterhub.crt
|
||||
|
@ -26,7 +26,7 @@ This deployment is **NOT** intended for a production environment.
|
||||
## Prerequisites
|
||||
|
||||
* This deployment uses Docker for all the things, via [Docker Compose](https://docs.docker.com/compose/overview/).
|
||||
It requires [Docker Toolbox](https://www.docker.com/products/docker-toolbox) 1.11.0 or higher.
|
||||
It requires [Docker Engine](https://docs.docker.com/engine) 1.12.0 or higher.
|
||||
See the [installation instructions](https://docs.docker.com/engine/installation/) for your environment.
|
||||
* This example configures JupyterHub for HTTPS connections (the default).
|
||||
As such, you must provide TLS certificate chain and key files to the JupyterHub server.
|
||||
|
@ -27,7 +27,6 @@ c.DockerSpawner.use_internal_ip = True
|
||||
c.DockerSpawner.network_name = network_name
|
||||
# Pass the network name as argument to spawned containers
|
||||
c.DockerSpawner.extra_host_config = { 'network_mode': network_name }
|
||||
c.DockerSpawner.extra_start_kwargs = { 'network_mode': network_name }
|
||||
# Explicitly set notebook directory because we'll be mounting a host volume to
|
||||
# it. Most jupyter/docker-stacks *-notebook images run the Notebook server as
|
||||
# user `jovyan`, and set the notebook directory to `/home/jovyan/work`.
|
||||
|
Loading…
Reference in New Issue
Block a user