From 4c896ffe64bbd1ee7c77a6ed86609716bae8d26c Mon Sep 17 00:00:00 2001 From: Justin Tyberg Date: Mon, 1 Aug 2016 16:58:01 -0400 Subject: [PATCH] Do not pass host config options as start keyword args. * Docker 1.12+ does not support host config options at container start. (c) Copyright IBM Corp. 2016 --- jupyterhub_config.py | 1 - 1 file changed, 1 deletion(-) diff --git a/jupyterhub_config.py b/jupyterhub_config.py index 026698a..84dbce5 100644 --- a/jupyterhub_config.py +++ b/jupyterhub_config.py @@ -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`.