Skip to content

Commit 3f4392b

Browse files
change vm to container/image language
1 parent 8031c7d commit 3f4392b

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

source/setup.Rmd

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ software packages, not to mention getting the right versions of
5959
everything—the worksheets and autograder tests may not work unless all the versions are
6060
exactly right! To keep things simple, we instead recommend that you install
6161
[Docker](https://docker.com). Docker lets you run your Jupyter notebooks inside
62-
a pre-built *virtual machine* that comes with precisely the right versions of
62+
a pre-built *container* that comes with precisely the right versions of
6363
all software packages needed run the worksheets that come with this book.
6464
\index{Docker}
6565

@@ -129,10 +129,13 @@ More information on installing and running
129129
Docker on Windows, as well as troubleshooting tips, can be found [in the online
130130
Docker documentation](https://docs.docker.com/desktop/install/windows-install/).
131131

132-
**Running JupyterLab** Once Docker is running (in either Windows or MacOS), you need to download and run the virtual machine that we have made available
133-
for the worksheets. In the search bar, enter `ubcdsci/r-dsci-100`, as this is the name of the virtual machine image. You will be presented
134-
with a few options (Figure \@ref(fig:docker-desktop-search)). In the "Tag" drop down menu, click the tag `20230724142640d8f06f` to select the
135-
correct version of the image. Then click the "Pull" button to download the image.
132+
**Running JupyterLab** Once Docker is running (in either Windows or MacOS), you need to download and run the
133+
Docker *image* that we have made available for the worksheets (an *image* is like a "snapshot" of a
134+
computer with all the right packages pre-installed). In the search bar, enter `ubcdsci/r-dsci-100`, as this is
135+
the name of the image. You will be presented
136+
with a few options (Figure \@ref(fig:docker-desktop-search)). In the "Tag" drop down menu, click
137+
the tag `20230724142640d8f06f` to select the correct version of the image. Then click
138+
the "Pull" button to download the image.
136139

137140
```{r docker-desktop-search, echo = FALSE, fig.cap = "The Docker Desktop search window. Make sure to click the Tag drop down menu and find the right version of the image before clicking the Pull button to download it.", fig.retina = 2, out.width="100%"}
138141
image_read("img/setup/docker-1.png") |>
@@ -147,7 +150,7 @@ image_read("img/setup/docker-2.png") |>
147150
image_crop("3632x2000")
148151
```
149152

150-
To run the virtual machine, click the play button beside the image. This will open the run configuration menu (Figure \@ref(fig:docker-desktop-runconfig)).
153+
To start up a *container* using that image, click the play button beside the image. This will open the run configuration menu (Figure \@ref(fig:docker-desktop-runconfig)).
151154
In the "Host port" textbox, enter `8888`. In the "Volumes" section, click the "Host path" box and navigate to the folder where your Jupyter worksheets
152155
are stored. In the "Container path" text box, enter `/home/jovyan/work`. Then click the "Run" button to start the container.
153156

0 commit comments

Comments
 (0)