Skip to content

Commit

Permalink
Merge pull request #133 from mathbunnyru/use_quay
Browse files Browse the repository at this point in the history
Switch to Quay.io for all the images
  • Loading branch information
minrk authored Nov 2, 2023
2 parents 8178110 + 15a0b36 commit e31f3a5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Key components of this reference deployment are:
- **Authenticator**: Uses [Native Authenticator](https://github.com/jupyterhub/nativeauthenticator) to authenticate users.
Any user will be allowed to sign up.

- **Spawner**:Uses [DockerSpawner](https://github.com/jupyterhub/dockerspawner)
- **Spawner**: Uses [DockerSpawner](https://github.com/jupyterhub/dockerspawner)
to spawn single-user Jupyter Notebook servers in separate Docker
containers on the same host.

Expand Down Expand Up @@ -85,14 +85,14 @@ JupyterHub may timeout if the image being pulled is large, so it is better to
pull the image to the host before running JupyterHub.

This deployment defaults to the
[jupyter/base-notebook](https://hub.docker.com/r/jupyter/base-notebook/)
[quay.io/jupyter/base-notebook](https://quay.io/repository/jupyter/base-notebook)
Notebook image, which is built from the `base-notebook`
[Docker stacks](https://github.com/jupyter/docker-stacks).

You can pull the image using the following command:

```bash
docker pull jupyter/base-notebook:latest
docker pull quay.io/jupyter/base-notebook:latest
```

## Run JupyterHub
Expand Down Expand Up @@ -166,8 +166,8 @@ Suppose you have the following running containers:
docker ps --format "table {{.ID}}\t{{.Image}}\t{{.Names}}"

CONTAINER ID IMAGE NAMES
bc02dd6bb91b jupyter/minimal-notebook jupyter-jtyberg
7b48a0b33389 jupyterhub jupyterhub
bc02dd6bb91b quay.io/jupyter/minimal-notebook jupyter-jtyberg
7b48a0b33389 quay.io/jupyterhub jupyterhub
```

In this deployment, the user's notebook directories (`/home/jovyan/work`) are backed by Docker volumes.
Expand All @@ -185,7 +185,7 @@ docker run --rm \
-u root \
-v /tmp:/backups \
-v jtyberg:/notebooks \
jupyter/minimal-notebook \
quay.io/jupyter/minimal-notebook \
tar cvf /backups/jtyberg-backup.tar /notebooks
```

Expand Down
2 changes: 1 addition & 1 deletion basic-example/Dockerfile.jupyterhub
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
ARG JUPYTERHUB_VERSION
FROM jupyterhub/jupyterhub:$JUPYTERHUB_VERSION
FROM quay.io/jupyterhub/jupyterhub:$JUPYTERHUB_VERSION

# Install dockerspawner, nativeauthenticator
# hadolint ignore=DL3013
Expand Down
2 changes: 1 addition & 1 deletion basic-example/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
# All containers will join this network
DOCKER_NETWORK_NAME: jupyterhub-network
# JupyterHub will spawn this Notebook image for users
DOCKER_NOTEBOOK_IMAGE: jupyter/base-notebook:latest
DOCKER_NOTEBOOK_IMAGE: quay.io/jupyter/base-notebook:latest
# Notebook directory inside user image
DOCKER_NOTEBOOK_DIR: /home/jovyan/work

Expand Down

0 comments on commit e31f3a5

Please sign in to comment.