Merge pull request #64 from aothms/patch-1
volume_driver is no longer a keyword argument to create_container()
This commit is contained in:
commit
1baac27d90
@ -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
|
# Mount the real user's Docker volume on the host to the notebook user's
|
||||||
# notebook directory in the container
|
# notebook directory in the container
|
||||||
c.DockerSpawner.volumes = { 'jupyterhub-user-{username}': notebook_dir }
|
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
|
# Remove containers once they are stopped
|
||||||
c.DockerSpawner.remove_containers = True
|
c.DockerSpawner.remove_containers = True
|
||||||
# For debugging arguments passed to spawned containers
|
# For debugging arguments passed to spawned containers
|
||||||
|
Loading…
Reference in New Issue
Block a user