@@ -33,7 +33,7 @@ Key components of this reference deployment are:
33
33
- ** Authenticator** : Uses [ Native Authenticator] ( https://github.com/jupyterhub/nativeauthenticator ) to authenticate users.
34
34
Any user will be allowed to sign up.
35
35
36
- - ** Spawner** : Uses [ DockerSpawner] ( https://github.com/jupyterhub/dockerspawner )
36
+ - ** Spawner** : Uses [ DockerSpawner] ( https://github.com/jupyterhub/dockerspawner )
37
37
to spawn single-user Jupyter Notebook servers in separate Docker
38
38
containers on the same host.
39
39
@@ -60,11 +60,11 @@ This deployment uses [JupyterHub Native Authenticator](https://native-authentica
60
60
61
61
## Build the JupyterHub Docker image
62
62
63
- 1 . Use [ docker- compose] ( https://docs.docker.com/compose/reference/ ) to build
63
+ 1 . Use [ docker compose] ( https://docs.docker.com/compose/reference/ ) to build
64
64
the JupyterHub Docker image:
65
65
66
66
``` bash
67
- docker- compose build
67
+ docker compose build
68
68
```
69
69
70
70
## Customisation: Jupyter Notebook Image
@@ -85,14 +85,14 @@ JupyterHub may timeout if the image being pulled is large, so it is better to
85
85
pull the image to the host before running JupyterHub.
86
86
87
87
This deployment defaults to the
88
- [ jupyter/base-notebook] ( https://hub.docker.com/r /jupyter/base-notebook/ )
88
+ [ quay.io/ jupyter/base-notebook] ( https://quay.io/repository /jupyter/base-notebook )
89
89
Notebook image, which is built from the ` base-notebook `
90
90
[ Docker stacks] ( https://github.com/jupyter/docker-stacks ) .
91
91
92
92
You can pull the image using the following command:
93
93
94
94
``` bash
95
- docker pull jupyter/base-notebook:latest
95
+ docker pull quay.io/ jupyter/base-notebook:latest
96
96
```
97
97
98
98
## Run JupyterHub
@@ -102,15 +102,15 @@ Run the JupyterHub container on the host.
102
102
To run the JupyterHub container in detached mode:
103
103
104
104
``` bash
105
- docker- compose up -d
105
+ docker compose up -d
106
106
```
107
107
108
108
Once the container is running, you should be able to access the JupyterHub console at ` http://localhost:8000 ` .
109
109
110
110
To bring down the JupyterHub container:
111
111
112
112
``` bash
113
- docker- compose down
113
+ docker compose down
114
114
```
115
115
116
116
---
@@ -166,8 +166,8 @@ Suppose you have the following running containers:
166
166
docker ps --format " table {{.ID}}\t{{.Image}}\t{{.Names}}"
167
167
168
168
CONTAINER ID IMAGE NAMES
169
- bc02dd6bb91b jupyter/minimal-notebook jupyter-jtyberg
170
- 7b48a0b33389 jupyterhub jupyterhub
169
+ bc02dd6bb91b quay.io/ jupyter/minimal-notebook jupyter-jtyberg
170
+ 7b48a0b33389 quay.io/ jupyterhub jupyterhub
171
171
```
172
172
173
173
In this deployment, the user's notebook directories (` /home/jovyan/work ` ) are backed by Docker volumes.
@@ -185,7 +185,7 @@ docker run --rm \
185
185
-u root \
186
186
-v /tmp:/backups \
187
187
-v jtyberg:/notebooks \
188
- jupyter/minimal-notebook \
188
+ quay.io/ jupyter/minimal-notebook \
189
189
tar cvf /backups/jtyberg-backup.tar /notebooks
190
190
```
191
191
0 commit comments