Skip to content

Commit e869d58

Browse files
setup index
1 parent fbbd73d commit e869d58

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

source/setup.Rmd

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ 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
6262
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.
64-
\index{Docker}
64+
\index{Docker}\index{container}
6565

6666
> **Note:** A *container* is a virtualized user space within your computer.
6767
> Within the container, you can run software in isolation without interfering with the
@@ -77,6 +77,7 @@ all software packages needed run the worksheets that come with this book.
7777
visit [the online Docker documentation](https://docs.docker.com/desktop/install/windows-install/),
7878
and download the `Docker Desktop Installer.exe` file. Double-click the file to open the installer
7979
and follow the instructions on the installation wizard, choosing **WSL-2** instead of **Hyper-V** when prompted.
80+
\index{Docker!installation}
8081

8182
> **Note:** Occasionally, when you first run Docker on Windows, you will encounter an error message. Some common errors you may see:
8283
>
@@ -90,7 +91,7 @@ and follow the instructions on the installation wizard, choosing **WSL-2** inste
9091
> to help you with this, as editing the BIOS can be dangerous. Detailed instructions for doing this are beyond the scope of this book.
9192
9293
**Running JupyterLab** Run Docker Desktop. Once it is running, you need to download and run the
93-
Docker *image* that we have made available for the worksheets (an *image* is like a "snapshot" of a
94+
Docker *image* that \index{Docker!image}\index{Docker!tag} we have made available for the worksheets (an *image* is like a "snapshot" of a
9495
computer with all the right packages pre-installed). You only need to do this step one time; the image will remain
9596
the next time you run Docker Desktop.
9697
In the Docker Desktop search bar, enter `ubcdsci/r-dsci-100`, as this is
@@ -177,7 +178,8 @@ sudo chmod u+x get-docker.sh
177178
sudo sh get-docker.sh
178179
```
179180

180-
**Running JupyterLab** First, open the [`Dockerfile` in the worksheets repository](https://raw.githubusercontent.com/UBC-DSCI/data-science-a-first-intro-worksheets/main/Dockerfile),
181+
**Running JupyterLab** First, open
182+
the [`Dockerfile` in the worksheets repository](https://raw.githubusercontent.com/UBC-DSCI/data-science-a-first-intro-worksheets/main/Dockerfile),
181183
and look for the line `FROM ubcdsci/r-dsci-100:` followed by a tag consisting of a sequence of numbers and letters.
182184
Then in the terminal, navigate to the directory where you want to run JupyterLab, and run
183185
the following command, replacing `TAG` with the *tag* you found earlier.

0 commit comments

Comments
 (0)