From 807f82b24f4a713e9a6c6f10107da667faf02c32 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Mon, 19 Feb 2018 17:03:28 +0100 Subject: [PATCH] volume_driver is no longer a keyword argument to create_container() Probably on account of https://github.com/docker/docker-py/issues/1543 --- jupyterhub_config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jupyterhub_config.py b/jupyterhub_config.py index dc925dd..c81161b 100644 --- a/jupyterhub_config.py +++ b/jupyterhub_config.py @@ -36,7 +36,8 @@ c.DockerSpawner.notebook_dir = notebook_dir # Mount the real user's Docker volume on the host to the notebook user's # notebook directory in the container c.DockerSpawner.volumes = { 'jupyterhub-user-{username}': notebook_dir } -c.DockerSpawner.extra_create_kwargs.update({ 'volume_driver': 'local' }) +# volume_driver is no longer a keyword argument to create_container() +# c.DockerSpawner.extra_create_kwargs.update({ 'volume_driver': 'local' }) # Remove containers once they are stopped c.DockerSpawner.remove_containers = True # For debugging arguments passed to spawned containers