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
This commit is contained in:
Justin Tyberg 2016-08-01 16:58:01 -04:00
parent 575787f315
commit 4c896ffe64

View File

@ -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`.