1+
12# Jupyter Notebook Dev Container Template
23
34A ready-to-use [ VS Code Dev Container] ( https://code.visualstudio.com/docs/devcontainers/containers ) template for Python + Jupyter development.
@@ -17,10 +18,10 @@ Includes JupyterLab, classic Notebook, and common data science libraries (NumPy,
1718
18191 . ** Clone this repository**
1920
20- ``` bash
21- git clone < repository-url>
22- cd dev-container-templates
23- ````
21+ ``` bash
22+ git clone < repository-url>
23+ cd dev-container-templates
24+ ````
2425
25262. ** Open in VS Code**
2627
@@ -50,6 +51,25 @@ cd dev-container-templates
5051
5152---
5253
54+ # # Connecting to Jupyter
55+
56+ The container automatically runs JupyterLab on ** port 8888** with no token or password.
57+
58+ # ## Option A: Open Jupyter in your host browser
59+
60+ 1. After the container starts, VS Code will forward port ** 8888** to your host.
61+ 2. Open [http://localhost:8888](http://localhost:8888) in your browser.
62+ 3. You should see JupyterLab running inside the dev container.
63+
64+ # ## Option B: Use Jupyter directly inside VS Code
65+
66+ 1. Install the ** Jupyter** extension (already included in ` .devcontainer/devcontainer.json` ).
67+ 2. Open any ` .ipynb` notebook file in VS Code.
68+ 3. When prompted, select the ** Python kernel** provided by the container (` .venv` ).
69+ 4. Run cells inline with ` Shift+Enter` or the play button.
70+
71+ ---
72+
5373# # Dev Container Features
5474
5575* ** Python 3.12** with isolated ` .venv` created by ** uv**
@@ -76,3 +96,4 @@ cd dev-container-templates
7696# # License
7797
7898This project is licensed under the MIT License — see the [LICENSE](LICENSE) file for details.
99+
0 commit comments