mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-18 07:22:57 +00:00
remove user-facing start-singleuser.sh docs
it’s handled internally
This commit is contained in:
@@ -285,20 +285,6 @@ conda install some-package
|
|||||||
|
|
||||||
## Alternative Commands
|
## 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/all-spark-notebook'
|
|
||||||
|
|
||||||
# Have the Spawner override the Docker run command
|
|
||||||
c.DockerSpawner.extra_create_kwargs.update({
|
|
||||||
'command': '/usr/local/bin/start-singleuser.sh'
|
|
||||||
})
|
|
||||||
```
|
|
||||||
|
|
||||||
### start.sh
|
### start.sh
|
||||||
|
|
||||||
The `start.sh` script supports the same features as the default `start-notebook.sh` script (e.g., `GRANT_SUDO`), but allows you to specify an arbitrary command to execute. For example, to run the text-based `ipython` console in a container, do the following:
|
The `start.sh` script supports the same features as the default `start-notebook.sh` script (e.g., `GRANT_SUDO`), but allows you to specify an arbitrary command to execute. For example, to run the text-based `ipython` console in a container, do the following:
|
||||||
|
@@ -107,15 +107,6 @@ conda install some-package
|
|||||||
|
|
||||||
## Alternative Commands
|
## 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/base-notebook'
|
|
||||||
```
|
|
||||||
|
|
||||||
### start.sh
|
### start.sh
|
||||||
|
|
||||||
The `start.sh` script supports the same features as the default `start-notebook.sh` script (e.g., `GRANT_SUDO`), but allows you to specify an arbitrary command to execute. For example, to run the text-based `ipython` console in a container, do the following:
|
The `start.sh` script supports the same features as the default `start-notebook.sh` script (e.g., `GRANT_SUDO`), but allows you to specify an arbitrary command to execute. For example, to run the text-based `ipython` console in a container, do the following:
|
||||||
|
@@ -106,19 +106,6 @@ conda install some-package
|
|||||||
|
|
||||||
## Alternative Commands
|
## 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/datascience-notebook'
|
|
||||||
|
|
||||||
# Have the Spawner override the Docker run command
|
|
||||||
c.DockerSpawner.extra_create_kwargs.update({
|
|
||||||
'command': '/usr/local/bin/start-singleuser.sh'
|
|
||||||
})
|
|
||||||
```
|
|
||||||
|
|
||||||
### start.sh
|
### start.sh
|
||||||
|
|
||||||
|
@@ -105,19 +105,6 @@ conda install some-package
|
|||||||
|
|
||||||
## Alternative Commands
|
## 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/minimal-notebook'
|
|
||||||
|
|
||||||
# Have the Spawner override the Docker run command
|
|
||||||
c.DockerSpawner.extra_create_kwargs.update({
|
|
||||||
'command': '/usr/local/bin/start-singleuser.sh'
|
|
||||||
})
|
|
||||||
```
|
|
||||||
|
|
||||||
### start.sh
|
### start.sh
|
||||||
|
|
||||||
|
@@ -177,19 +177,6 @@ conda install some-package
|
|||||||
|
|
||||||
## Alternative Commands
|
## 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
|
### start.sh
|
||||||
|
|
||||||
|
@@ -90,19 +90,6 @@ For additional information about using SSL, see the following:
|
|||||||
|
|
||||||
## Alternative Commands
|
## 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/r-notebook'
|
|
||||||
|
|
||||||
# Have the Spawner override the Docker run command
|
|
||||||
c.DockerSpawner.extra_create_kwargs.update({
|
|
||||||
'command': '/usr/local/bin/start-singleuser.sh'
|
|
||||||
})
|
|
||||||
```
|
|
||||||
|
|
||||||
### start.sh
|
### start.sh
|
||||||
|
|
||||||
|
@@ -103,19 +103,6 @@ conda install some-package
|
|||||||
|
|
||||||
## Alternative Commands
|
## 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/scipy-notebook'
|
|
||||||
|
|
||||||
# Have the Spawner override the Docker run command
|
|
||||||
c.DockerSpawner.extra_create_kwargs.update({
|
|
||||||
'command': '/usr/local/bin/start-singleuser.sh'
|
|
||||||
})
|
|
||||||
```
|
|
||||||
|
|
||||||
### start.sh
|
### start.sh
|
||||||
|
|
||||||
|
@@ -112,20 +112,6 @@ conda install some-package
|
|||||||
|
|
||||||
## Alternative Commands
|
## 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/tensorflow-notebook'
|
|
||||||
|
|
||||||
# Have the Spawner override the Docker run command
|
|
||||||
c.DockerSpawner.extra_create_kwargs.update({
|
|
||||||
'command': '/usr/local/bin/start-singleuser.sh'
|
|
||||||
})
|
|
||||||
```
|
|
||||||
|
|
||||||
### start.sh
|
### start.sh
|
||||||
|
|
||||||
The `start.sh` script supports the same features as the default `start-notebook.sh` script (e.g., `GRANT_SUDO`), but allows you to specify an arbitrary command to execute. For example, to run the text-based `ipython` console in a container, do the following:
|
The `start.sh` script supports the same features as the default `start-notebook.sh` script (e.g., `GRANT_SUDO`), but allows you to specify an arbitrary command to execute. For example, to run the text-based `ipython` console in a container, do the following:
|
||||||
|
Reference in New Issue
Block a user