Skip to content

Commit 1baac27

Browse files
authored
Merge pull request #64 from aothms/patch-1
volume_driver is no longer a keyword argument to create_container()
2 parents 96e4120 + 807f82b commit 1baac27

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

jupyterhub_config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636
# Mount the real user's Docker volume on the host to the notebook user's
3737
# notebook directory in the container
3838
c.DockerSpawner.volumes = { 'jupyterhub-user-{username}': notebook_dir }
39-
c.DockerSpawner.extra_create_kwargs.update({ 'volume_driver': 'local' })
39+
# volume_driver is no longer a keyword argument to create_container()
40+
# c.DockerSpawner.extra_create_kwargs.update({ 'volume_driver': 'local' })
4041
# Remove containers once they are stopped
4142
c.DockerSpawner.remove_containers = True
4243
# For debugging arguments passed to spawned containers

0 commit comments

Comments
 (0)