mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-17 15:02:57 +00:00
remove user-facing start-singleuser.sh docs
it’s handled internally
This commit is contained in:
@@ -177,19 +177,6 @@ conda install some-package
|
||||
|
||||
## Alternative Commands
|
||||
|
||||
### start-singleuser.sh
|
||||
|
||||
[JupyterHub](https://jupyterhub.readthedocs.io) requires a single-user instance of the Jupyter Notebook server per user. To use this stack with JupyterHub and [DockerSpawner](https://github.com/jupyter/dockerspawner), you must specify the container image name and override the default container run command in your `jupyterhub_config.py`:
|
||||
|
||||
```python
|
||||
# Spawn user containers from this image
|
||||
c.DockerSpawner.container_image = 'jupyter/pyspark-notebook'
|
||||
|
||||
# Have the Spawner override the Docker run command
|
||||
c.DockerSpawner.extra_create_kwargs.update({
|
||||
'command': '/usr/local/bin/start-singleuser.sh'
|
||||
})
|
||||
```
|
||||
|
||||
### start.sh
|
||||
|
||||
|
Reference in New Issue
Block a user