Skip to content

Commit 76aa995

Browse files
authored
Merge pull request #17 from jtyberg/issue-16
Do not pass host config options in start_kwargs
2 parents 9650195 + b5e5453 commit 76aa995

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

Dockerfile.jupyterhub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ FROM jupyterhub/jupyterhub-onbuild:0.6.1
66
RUN /opt/conda/bin/pip install \
77
jupyterhub==0.6.* \
88
oauthenticator==0.4.* \
9-
dockerspawner==0.3.*
9+
dockerspawner==0.4.*
1010

1111
# Copy TLS certificate and key
1212
ENV SSL_CERT /srv/jupyterhub/secrets/jupyterhub.crt

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This deployment is **NOT** intended for a production environment.
2626
## Prerequisites
2727

2828
* This deployment uses Docker for all the things, via [Docker Compose](https://docs.docker.com/compose/overview/).
29-
It requires [Docker Toolbox](https://www.docker.com/products/docker-toolbox) 1.11.0 or higher.
29+
It requires [Docker Engine](https://docs.docker.com/engine) 1.12.0 or higher.
3030
See the [installation instructions](https://docs.docker.com/engine/installation/) for your environment.
3131
* This example configures JupyterHub for HTTPS connections (the default).
3232
As such, you must provide TLS certificate chain and key files to the JupyterHub server.

jupyterhub_config.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
c.DockerSpawner.network_name = network_name
2828
# Pass the network name as argument to spawned containers
2929
c.DockerSpawner.extra_host_config = { 'network_mode': network_name }
30-
c.DockerSpawner.extra_start_kwargs = { 'network_mode': network_name }
3130
# Explicitly set notebook directory because we'll be mounting a host volume to
3231
# it. Most jupyter/docker-stacks *-notebook images run the Notebook server as
3332
# user `jovyan`, and set the notebook directory to `/home/jovyan/work`.

0 commit comments

Comments
 (0)