From ff09829602d725e60947a7b1a375854d28b7ffcd Mon Sep 17 00:00:00 2001 From: aamirali129 Date: Mon, 10 Nov 2025 20:33:58 +0530 Subject: [PATCH] Enhance README with Docker usage instructions Added instructions for using the Dev Container with Docker. --- src/python/README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/python/README.md b/src/python/README.md index 8e3add14..498072c0 100644 --- a/src/python/README.md +++ b/src/python/README.md @@ -29,3 +29,26 @@ See the [pipx documentation](https://pipxproject.github.io/pipx/docs/) for addit --- _Note: This file was auto-generated from the [devcontainer-template.json](https://github.com/devcontainers/templates/blob/main/src/python/devcontainer-template.json). Add additional notes to a `NOTES.md`._ + +--- + +## 🐳 Using this Dev Container with Docker + +This template can also be run manually using Docker, without VS Code. + +### Option 1 — VS Code Dev Containers +1. Install [Docker](https://docs.docker.com/get-docker/). +2. Install [Visual Studio Code](https://code.visualstudio.com/). +3. Install the **Dev Containers** extension. +4. Open this folder in VS Code. +5. When prompted, select **"Reopen in Container"**. + +VS Code will automatically: +- Pull the image `mcr.microsoft.com/devcontainers/python` +- Build the environment +- Install dependencies (if any) from `requirements.txt` + +### Option 2 — Run via Docker CLI +You can also launch the container directly using Docker: +```bash +docker run -it -p 9000:9000 mcr.microsoft.com/devcontainers/python