@@ -33,7 +33,7 @@ Key components of this reference deployment are:
3333- ** Authenticator** : Uses [ Native Authenticator] ( https://github.com/jupyterhub/nativeauthenticator ) to authenticate users.
3434 Any user will be allowed to sign up.
3535
36- - ** Spawner** : Uses [ DockerSpawner] ( https://github.com/jupyterhub/dockerspawner )
36+ - ** Spawner** : Uses [ DockerSpawner] ( https://github.com/jupyterhub/dockerspawner )
3737 to spawn single-user Jupyter Notebook servers in separate Docker
3838 containers on the same host.
3939
@@ -60,11 +60,11 @@ This deployment uses [JupyterHub Native Authenticator](https://native-authentica
6060
6161## Build the JupyterHub Docker image
6262
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
6464 the JupyterHub Docker image:
6565
6666 ``` bash
67- docker- compose build
67+ docker compose build
6868 ```
6969
7070## Customisation: Jupyter Notebook Image
@@ -85,14 +85,14 @@ JupyterHub may timeout if the image being pulled is large, so it is better to
8585pull the image to the host before running JupyterHub.
8686
8787This 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 )
8989Notebook image, which is built from the ` base-notebook `
9090[ Docker stacks] ( https://github.com/jupyter/docker-stacks ) .
9191
9292You can pull the image using the following command:
9393
9494``` bash
95- docker pull jupyter/base-notebook:latest
95+ docker pull quay.io/ jupyter/base-notebook:latest
9696```
9797
9898## Run JupyterHub
@@ -102,15 +102,15 @@ Run the JupyterHub container on the host.
102102To run the JupyterHub container in detached mode:
103103
104104``` bash
105- docker- compose up -d
105+ docker compose up -d
106106```
107107
108108Once the container is running, you should be able to access the JupyterHub console at ` http://localhost:8000 ` .
109109
110110To bring down the JupyterHub container:
111111
112112``` bash
113- docker- compose down
113+ docker compose down
114114```
115115
116116---
@@ -166,8 +166,8 @@ Suppose you have the following running containers:
166166 docker ps --format " table {{.ID}}\t{{.Image}}\t{{.Names}}"
167167
168168 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
171171```
172172
173173In this deployment, the user's notebook directories (` /home/jovyan/work ` ) are backed by Docker volumes.
@@ -185,7 +185,7 @@ docker run --rm \
185185 -u root \
186186 -v /tmp:/backups \
187187 -v jtyberg:/notebooks \
188- jupyter/minimal-notebook \
188+ quay.io/ jupyter/minimal-notebook \
189189 tar cvf /backups/jtyberg-backup.tar /notebooks
190190```
191191
0 commit comments