Skip to content

Commit a2c5571

Browse files
committed
cpu only
1 parent 67daac4 commit a2c5571

File tree

1 file changed

+51
-1
lines changed

1 file changed

+51
-1
lines changed

docker/README.md

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Deep Learning Crash Course
1+
# Deep Learning Crash Course Docker Image
22

33
[![Early Access - Use Code PREORDER for 25% Off](https://img.shields.io/badge/Early%20Access%20Now%20Available-Use%20Code%20PREORDER%20for%2025%25%20Off-orange)](https://nostarch.com/deep-learning-crash-course)
44
by Benjamin Midtvedt, Jesús Pineda, Henrik Klein Moberg, Harshith Bachimanchi, Joana B. Pereira, Carlo Manzo, Giovanni Volpe
@@ -10,4 +10,54 @@ ISBN-13: 9781718503922
1010

1111
![Docker Image CI](https://github.com/DeepTrackAI/DeepLearningCrashCourse/actions/workflows/docker-publish.yml/badge.svg)
1212

13+
A ready-to-run JupyterLab environment with all notebooks and dependencies baked in.
14+
Works on Intel & Apple-Silicon Macs, Linux ×86_64 & ARM64.
15+
16+
---
17+
18+
## Prerequisites
19+
20+
- [Docker Desktop](https://www.docker.com/products/docker-desktop) (macOS, Windows) or Docker Engine (Linux)
21+
- (Optional) [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/) on Linux for GPU support
22+
- (Optional) VS Code + [Dev Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) extension
23+
24+
1325
---
26+
## General use
27+
28+
### 1. Pull the latest image
29+
30+
```bash
31+
docker pull ghcr.io/deeptrackai/deep-learning-crash-course:latest
32+
```
33+
Docker will automatically select the correct architecture slice (amd64 or arm64).
34+
35+
### 2. Run JupyterLab
36+
```docker run --rm -it \
37+
-p 8888:8888 \
38+
-v "$(pwd)":/home/jovyan/work \
39+
ghcr.io/deeptrackai/deep-learning-crash-course:latest
40+
```
41+
After startup you’ll see a URL with a token (e.g. http://127.0.0.1:8888/lab?token=…). Paste it into your browser.
42+
43+
---
44+
45+
## Use in VS Code (Dev Containers)
46+
47+
### 1. Install the “Dev Containers” extension in VS Code.
48+
49+
### 2. Command Palette → Dev Containers: Open Folder in Container…
50+
51+
### 3. Select your local DeepLearningCrashCourse folder.
52+
53+
### 4. In the new window:
54+
55+
- Install Python & Jupyter extensions when prompted.
56+
57+
- Open Folder → /home/jovyan/work (the repo inside the container).
58+
59+
- Select Interpreter in the bottom bar → the one at `/opt/conda/bin/python` (Python 3.11).
60+
61+
### 5. Use the integrated terminal (`Ctrl`+``) or Run & Debug scripts (F5).
62+
63+
### 6. Open any `.ipynb` and run cells.

0 commit comments

Comments
 (0)