Quick Start: Jupyter Notebook on dstack

This is an exact guide on deploying a Jupyter Notebook on dstack where step by step we install, build and run the dstack straight from our local host, and then we will be able to access our own TDX VM with Jupyter Notebook running on it.
Jupyter Notebook Quick Start Banner

1

Open tunnel & access dashboard

this command lets you access the dstack dashboard running on your remote host.
open in your browser:http://127.0.0.1:13680
click “Deploy a new instance” to start your first container:deploy a new instance

📓 Check Your Jupyter Notebook Deployment

First, let’s confirm your VMM is running and ready. Open the dstack dashboard In Local Host in your browser. If everything is set up, you should see the Jupyter Notebook web page like this: http://localhost/ jupyter notebook web page

Step 2: Add the Docker Compose YAML

Copy the following YAML and paste it into the “Docker Compose File” field in the dashboard:
1Paste your Docker Compose YAML
Paste Docker Compose and deploy
Confirm the editor matches this example, then click “Deploy” to continue.

Step 3: Launch and Monitor

deployment launched in dashboard
  1. Click Launch or Deploy in the dashboard.
dstack will start your Jupyter Notebook. This usually takes 1–2 minutes.
deployment in progress
  1. Watch the progress
  • Check Serial Logs for VM boot details
  • See container status in the Containers tab
  • Scroll to the bottom of logs with Ctrl/Cmd+Down
Your deployment will appear in the dashboard as it starts up.

Step 4: Open Your Jupyter Notebook

After deployment, find your app’s URL in the dashboard to access Jupyter Notebook.
https://<APP_ID>-<APP_PORT>.app.<host>:<host_port>