Skip to content

Commit 033acdf

Browse files
guides: update jupyter guide (#20923)
Signed-off-by: Craig Osterhout <[email protected]>
1 parent 0eb3a98 commit 033acdf

File tree

1 file changed

+27
-24
lines changed

1 file changed

+27
-24
lines changed

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

0 commit comments

Comments
 (0)