From 654071d871531f731aaeafdca19353d67475b720 Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Mon, 30 Oct 2023 09:53:21 +0100 Subject: [PATCH 1/2] Switch to Quay.io for all the images --- README.md | 10 +++++----- basic-example/Dockerfile.jupyterhub | 2 +- basic-example/docker-compose.yml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 885ff5e..3bfae65 100644 --- a/README.md +++ b/README.md @@ -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. @@ -85,7 +85,7 @@ 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). @@ -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. @@ -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 ``` diff --git a/basic-example/Dockerfile.jupyterhub b/basic-example/Dockerfile.jupyterhub index b7b437e..9e57aa9 100644 --- a/basic-example/Dockerfile.jupyterhub +++ b/basic-example/Dockerfile.jupyterhub @@ -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 diff --git a/basic-example/docker-compose.yml b/basic-example/docker-compose.yml index 36c5144..1ad854e 100644 --- a/basic-example/docker-compose.yml +++ b/basic-example/docker-compose.yml @@ -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 From 15a0b366cada95a28acdd522ce21d62d11571cf8 Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Mon, 30 Oct 2023 13:38:30 +0100 Subject: [PATCH 2/2] More --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3bfae65..228ae0a 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ Notebook image, which is built from the `base-notebook` 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