Skip to content

Commit 3d33c4b

Browse files
authored
Merge branch 'docker:main' into main
2 parents 092a8b6 + 033acdf commit 3d33c4b

File tree

3 files changed

+29
-26
lines changed

3 files changed

+29
-26
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ARG GO_VERSION=1.23
88
# HTMLTEST_VERSION sets the wjdp/htmltest version for HTML testing
99
ARG HTMLTEST_VERSION=0.17.0
1010
# HUGO_VERSION sets the version of Hugo to build the site with
11-
ARG HUGO_VERSION=0.136.0
11+
ARG HUGO_VERSION=0.136.2
1212

1313
# build-base is the base stage used for building the site
1414
FROM ghcr.io/gohugoio/hugo:v${HUGO_VERSION} AS build-base

content/guides/jupyter.md

Lines changed: 27 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -383,39 +383,42 @@ $ docker run --rm -p 8889:8888 YOUR-USER-NAME/my-jupyer-image start-notebook.py
383383

384384
### Share your volume
385385

386-
This example uses the Docker Desktop [Volumes Backup & Share](https://hub.docker.com/extensions/docker/volumes-backup-extension) extension. Alternatively, in the CLI you can [back up the volume](/engine/storage/volumes/#back-up-a-volume) and then [push it using the ORAS CLI](/manuals/docker-hub/oci-artifacts.md#push-a-volume).
387-
388-
1. Install the Volumes Backup & Share extension.
389-
390-
1. Open the Docker Dashboard and select **Extensions**.
391-
2. Search for `Volumes Backup & Share`.
392-
3. In the search results select **Install** for the extension.
393-
394-
2. Open the **Volumes Backup & Share** extension in the Docker Dashboard.
395-
3. Next to the **jupyter-data** volume, select the **Export volume** icon.
396-
4. In the **Export content** window, select **Registry**.
397-
5. In the text box under **Registry**, specify your Docker ID and a name for the
398-
volume. For example, `YOUR-USERNAME/jupyter-data`.
399-
6. Select **Export**.
400-
7. Verify that you exported the volume to Docker Hub.
386+
This example uses the Docker Desktop graphical user interface. Alternatively, in the command line interface you can [back up the volume](/engine/storage/volumes/#back-up-a-volume) and then [push it using the ORAS CLI](/manuals/docker-hub/oci-artifacts.md#push-a-volume).
387+
388+
1. Sign in to Docker Desktop.
389+
2. In the Docker Dashboard, select **Volumes**.
390+
3. Select the **jupyter-data** volume by selecting the name.
391+
4. Select the **Exports** tab.
392+
5. Select **Quick export**.
393+
6. For **Location**, select **Registry**.
394+
7. In the text box under **Registry**, specify your Docker ID, a name for the
395+
volume, and a tag. For example, `YOUR-USERNAME/jupyter-data:latest`.
396+
8. Select **Save**.
397+
9. Verify that you exported the volume to Docker Hub.
401398
1. Go to [Docker Hub](https://hub.docker.com).
402399
2. Select **Repositories**.
403400
3. View the **Last pushed** time for your repository.
404401

405402
Other users can now download and import your volume. To import the volume and then run it with your image:
406403

407-
1. In the Volumes Backup & Share extension, select **Import into new volume**.
408-
2. In the **Import into a new volume** window, select **Registry**.
409-
3. In the text box under **Registry**, specify your Docker ID and the repository
410-
name for the volume. For example, `YOUR-USERNAME/jupyter-data`.
411-
4. In **Volume name**, specify the name you want to give the
412-
volume. This example uses `jupyter-data` as the name.
413-
5. Select **Import**.
414-
6. In a terminal, run `docker run` to run your image with the imported volume.
404+
1. Sign in to Docker Desktop.
405+
2. In the Docker Dashboard, select **Volumes**.
406+
3. Select **Create** to create a new volume.
407+
4. Specify a name for the new volume. For this example, use `jupyter-data-2`.
408+
5. Select **Create**.
409+
6. In the list of volumes, select the **jupyter-data-2** volume by selecting the
410+
name.
411+
7. Select **Import**.
412+
8. For **Location**, select **Registry**.
413+
9. In the text box under **Registry**, specify the same name as the repository
414+
that you exported your volume to. For example,
415+
`YOUR-USERNAME/jupyter-data:latest`.
416+
10. Select **Import**.
417+
11. In a terminal, run `docker run` to run your image with the imported volume.
415418
Replace `YOUR-USER-NAME` with your Docker ID.
416419

417420
```console
418-
$ docker run --rm -p 8889:8888 -v jupyter-data:/home/jovyan/work YOUR-USER-NAME/my-jupyter-image start-notebook.py --NotebookApp.token='my-token'
421+
$ docker run --rm -p 8889:8888 -v jupyter-data-2:/home/jovyan/work YOUR-USER-NAME/my-jupyter-image start-notebook.py --NotebookApp.token='my-token'
419422
```
420423

421424
## Summary

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ publish = "public"
44
[context.deploy-preview.environment]
55
NODE_VERSION = "20"
66
NODE_ENV = "production"
7-
HUGO_VERSION = "0.136.0"
7+
HUGO_VERSION = "0.136.2"
88
HUGO_ENABLEGITINFO = "true"
99
HUGO_ENVIRONMENT = "preview"
1010

0 commit comments

Comments
 (0)