Skip to content

Commit ebea7a8

Browse files
committed
Update example tag
1 parent 07dc2d0 commit ebea7a8

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ Older images are available on Docker Hub, but they will no longer be updated.
3030

3131
### Example 1
3232

33-
This command pulls the `jupyter/scipy-notebook` image tagged `2024-02-24` from Quay.io if it is not already present on the local host.
33+
This command pulls the `jupyter/scipy-notebook` image tagged `2024-03-14` from Quay.io if it is not already present on the local host.
3434
It then starts a container running a Jupyter Server with the JupyterLab frontend and exposes the container's internal port `8888` to port `10000` of the host machine:
3535

3636
```bash
37-
docker run -p 10000:8888 quay.io/jupyter/scipy-notebook:2024-02-24
37+
docker run -p 10000:8888 quay.io/jupyter/scipy-notebook:2024-03-14
3838
```
3939

4040
You can modify the port on which the container's port is exposed by [changing the value of the `-p` option](https://docs.docker.com/engine/reference/run/#exposed-ports) to `-p 8888:8888`.
@@ -49,11 +49,11 @@ The container remains intact for restart after the Server exits.
4949

5050
### Example 2
5151

52-
This command pulls the `jupyter/datascience-notebook` image tagged `2024-02-24` from Quay.io if it is not already present on the local host.
52+
This command pulls the `jupyter/datascience-notebook` image tagged `2024-03-14` from Quay.io if it is not already present on the local host.
5353
It then starts an _ephemeral_ container running a Jupyter Server with the JupyterLab frontend and exposes the server on host port 10000.
5454

5555
```bash
56-
docker run -it --rm -p 10000:8888 -v "${PWD}":/home/jovyan/work quay.io/jupyter/datascience-notebook:2024-02-24
56+
docker run -it --rm -p 10000:8888 -v "${PWD}":/home/jovyan/work quay.io/jupyter/datascience-notebook:2024-03-14
5757
```
5858

5959
The use of the `-v` flag in the command mounts the current working directory on the host (`${PWD}` in the example command) as `/home/jovyan/work` in the container.
@@ -101,7 +101,7 @@ more information is available in the [documentation](https://jupyter-docker-stac
101101
- Single-platform images have either `aarch64-` or `x86_64-` tag prefixes, for example, `quay.io/jupyter/base-notebook:aarch64-python-3.11.6`
102102
- Starting from `2022-09-21`, we create multi-platform images (except `tensorflow-notebook`)
103103
- Starting from `2023-06-01`, we create a multi-platform `tensorflow-notebook` image as well
104-
- Starting from `2024-02-24`, we create CUDA enabled variant of `pytorch-notebook` image for `x86_64` platform
104+
- Starting from `2024-03-14`, we create CUDA enabled variant of `pytorch-notebook` image for `x86_64` platform
105105

106106
## Using old images
107107

binder/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# https://quay.io/repository/jupyter/base-notebook?tab=tags
55
ARG REGISTRY=quay.io
66
ARG OWNER=jupyter
7-
ARG BASE_CONTAINER=$REGISTRY/$OWNER/base-notebook:2024-02-24
7+
ARG BASE_CONTAINER=$REGISTRY/$OWNER/base-notebook:2024-03-14
88
FROM $BASE_CONTAINER
99

1010
LABEL maintainer="Jupyter Project <[email protected]>"
@@ -13,6 +13,6 @@ LABEL maintainer="Jupyter Project <[email protected]>"
1313
# Fix: https://github.com/koalaman/shellcheck/wiki/SC3014
1414
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
1515

16-
ENV TAG="2024-02-24"
16+
ENV TAG="2024-03-14"
1717

1818
COPY --chown=${NB_UID}:${NB_GID} binder/README.ipynb "${HOME}"/README.ipynb

docs/using/running.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ The following are some common patterns.
1515

1616
### Example 1
1717

18-
This command pulls the `jupyter/scipy-notebook` image tagged `2024-02-24` from Quay.io if it is not already present on the local host.
18+
This command pulls the `jupyter/scipy-notebook` image tagged `2024-03-14` from Quay.io if it is not already present on the local host.
1919
It then starts a container running Jupyter Server with the JupyterLab frontend and exposes the server on host port 8888.
2020
The server logs appear in the terminal and include a URL to the server.
2121

2222
```bash
23-
docker run -it -p 8888:8888 quay.io/jupyter/scipy-notebook:2024-02-24
23+
docker run -it -p 8888:8888 quay.io/jupyter/scipy-notebook:2024-03-14
2424

2525
# Entered start.sh with args: jupyter lab
2626

@@ -39,7 +39,7 @@ Pressing `Ctrl-C` twice shuts down the Server but leaves the container intact on
3939
# list containers
4040
docker ps --all
4141
# CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
42-
# eca4aa01751c quay.io/jupyter/scipy-notebook:2024-02-24 "tini -g -- start-no…" About a minute ago Exited (0) 5 seconds ago silly_panini
42+
# eca4aa01751c quay.io/jupyter/scipy-notebook:2024-03-14 "tini -g -- start-no…" About a minute ago Exited (0) 5 seconds ago silly_panini
4343

4444
# start the stopped container
4545
docker start --attach -i eca4aa01751c
@@ -53,12 +53,12 @@ docker rm eca4aa01751c
5353

5454
### Example 2
5555

56-
This command pulls the `jupyter/r-notebook` image tagged `2024-02-24` from Quay.io if it is not already present on the local host.
56+
This command pulls the `jupyter/r-notebook` image tagged `2024-03-14` from Quay.io if it is not already present on the local host.
5757
It then starts a container running Server and exposes the server on host port 10000.
5858
The server logs appear in the terminal and include a URL to the Server but with the internal container port (8888) instead of the correct host port (10000).
5959

6060
```bash
61-
docker run -it --rm -p 10000:8888 -v "${PWD}":/home/jovyan/work quay.io/jupyter/r-notebook:2024-02-24
61+
docker run -it --rm -p 10000:8888 -v "${PWD}":/home/jovyan/work quay.io/jupyter/r-notebook:2024-03-14
6262
```
6363

6464
Pressing `Ctrl-C` twice shuts down the Server and immediately destroys the Docker container.
@@ -138,7 +138,7 @@ subuidSize=$(( $(podman info --format "{{ range .Host.IDMappings.UIDMap }}+{{.Si
138138
subgidSize=$(( $(podman info --format "{{ range .Host.IDMappings.GIDMap }}+{{.Size }}{{end }}" ) - 1 ))
139139
```
140140

141-
This command pulls the `quay.io/jupyter/r-notebook` image tagged `2024-02-24` from Quay.io if it is not already present on the local host.
141+
This command pulls the `quay.io/jupyter/r-notebook` image tagged `2024-03-14` from Quay.io if it is not already present on the local host.
142142
It then starts a container running a Jupyter Server with the JupyterLab frontend and exposes the server on host port 10000.
143143
The server logs appear in the terminal and include a URL to the server but with the internal container port (8888) instead of the correct host port (10000).
144144

@@ -147,7 +147,7 @@ podman run -it --rm -p 10000:8888 \
147147
-v "${PWD}":/home/jovyan/work --user $uid:$gid \
148148
--uidmap $uid:0:1 --uidmap 0:1:$uid --uidmap $(($uid+1)):$(($uid+1)):$(($subuidSize-$uid)) \
149149
--gidmap $gid:0:1 --gidmap 0:1:$gid --gidmap $(($gid+1)):$(($gid+1)):$(($subgidSize-$gid)) \
150-
quay.io/jupyter/r-notebook:2024-02-24
150+
quay.io/jupyter/r-notebook:2024-03-14
151151
```
152152

153153
```{warning}

0 commit comments

Comments
 (0)