🌐
Jeroen Overschie
jeroenoverschie.nl › python-devcontainer-with-uv
Python Devcontainer with uv - Jeroen Overschie
October 2, 2025 - A GitHub repository template for a Python uv Devcontainer. ... the repository also comes with some Extras: a GitHub Actions workflow for CI/CD and a Dockerfile for production deployments. Enjoy! That was an adventure. We set up a Devcontainer using a devcontainer.json file, we added uv and ruff by using Devcontainer features and set up our Python project using uv init, uv add and uv run.
🌐
Tigrisdata
tigrisdata.com › blog › dev-containers-python
Standardizing Python Environments with Development Containers | Tigris Object Storage
July 3, 2025 - This editor preconfiguration means you can fix problems like “What version of Python do I need?” or “How do I just install the dependencies?” forever. Take tigrisdata-community/huggingface-datasets-with-tigris for example. Its devcontainer.json answers that question for you: { // ... "postCreateCommand": "uv python install && uv venv && uv sync", "remoteEnv": { "UV_LINK_MODE": "copy", "UV_PYTHON": "3.10" } // ...
Discussions

Request: Official uv devcontainer
Would be really cool if we could get an official uv devcontainer for remote development using common IDEs (VS Code, PyCharm). It isn't too difficult to install uv in the Dockerfile by hand but an official option would be great. Currently the Python devcontainers are published version-by-version, ... More on github.com
🌐 github.com
9
October 31, 2024
python - VSCode devcontainer and UV - Stack Overflow
I'm developing using VSCode's devcontainer, and I used pip with a requirements.txt file for a few years with no problems. Works like charm. I'd like to upgrade to using uv, but I'm encountering a p... More on stackoverflow.com
🌐 stackoverflow.com
Improve devcontainer experience, particularly when switching from pip to uv.
Summary I tried changing an existing devcontainer to use uv instead of pip, and I ran into the error mentioned in ##11599. Initial devcontainer.json with only uv added: { "name": "Ex... More on github.com
🌐 github.com
14
March 15, 2025
feat(devcontainer): Add Python development extensions and uv package manager
The uv package manager is the project's chosen Python dependency tool, as specified in the coding standards instructions (uv-projects.instructions.md). It must be installed during container creation so that uv sync and uv run commands work immediately. ... The extension additions follow the existing pattern in devcontainer.json ... More on github.com
🌐 github.com
1
March 5, 2026
🌐
GitHub
github.com › a5chin › python-uv
GitHub - a5chin/python-uv: A production-ready Python development environment template using modern tools: uv for blazing-fast package management, Ruff for lightning-fast linting and formatting, ty for fast and reliable type checking, and VSCode Dev Containers for reproducible development environments. · GitHub
A production-ready Python development environment template using modern tools: uv for blazing-fast package management, Ruff for lightning-fast linting and formatting, ty for fast and reliable type checking, and VSCode Dev Containers for reproducible ...
Starred by 363 users
Forked by 69 users
Languages   Python 92.5% | Dockerfile 7.5%
🌐
Simon Willison
til.simonwillison.net › github › codespaces-devcontainers
Configuring GitHub Codespaces using devcontainers | Simon Willison’s TILs
August 12, 2025 - Anything in postCreateCommand will be run after the container is first created. Here I'm using pip to install uv, after which uv tool install X etc will be available. Once you have added a .devcontainer/devcontainer.json to a repository you can construct a link that will launch that repository ...
🌐
GitHub
github.com › astral-sh › uv › issues › 8737
Request: Official uv devcontainer · Issue #8737 · astral-sh/uv
October 31, 2024 - Would be really cool if we could get an official uv devcontainer for remote development using common IDEs (VS Code, PyCharm). It isn't too difficult to install uv in the Dockerfile by hand but an official option would be great. Currently the Python devcontainers are published version-by-version, ...
Author   rdong8
🌐
GitHub
github.com › philippschmalen › devcontainer-python-uv-template
GitHub - philippschmalen/devcontainer-python-uv-template: Production-ready VSCode Devcontainer with fast and lightweight build using two-staged Docker build with `uv`. Uses `docker-compose` to spin up multiple services. · GitHub
# When prompted, or using the Command ....venv/bin/python (as defined in `Dockerfile`) Add dependencies: uv add <package-name> (runs inside the container) pre-commit (linting, formatting, testing) runs automatically on commit · want to ignore files that are specific to you without using .gitignore? Add them to .git/info/exclude · Want to use an already authenticated az cli from the host? Add this to the following files: // .devcontainer/devcontainer.json "features": ...
Author   philippschmalen
Find elsewhere
🌐
Mjunya
mjunya.com › en › posts › 2025-06-15-python-template
Modern Python Development Environment Template with uv, ruff, devcontainer, Claude Code | MJUN Tech Note
June 15, 2025 - The devcontainer.json file contains any needed metadata and settings required to configure a development container for a given well-defined tool and runtime ... ... A guide to using uv with PyTorch, including installing PyTorch, configuring ...
🌐
Docker Hub
hub.docker.com › r › jfxs › devcontainer-uv
jfxs/devcontainer-uv - Docker Image
.devcontainer/devcontainer.json configuration to develop inside a container⁠: ... lint: desc: "Python lint with Ruff." cmds: - uv run ruff check silent: true format: desc: "Python format with Ruff." cmds: - uv run ruff check --fix - uv run ruff format silent: true Copy
🌐
Medium
daniel-mannino.medium.com › better-python-programming-with-dev-containers-uv-and-ruff-a56ed7172d9e
Better Python programming with Dev Containers, uv, and ruff | by Daniel Mannino | Medium
December 6, 2024 - This article describes my macbook setup for coding in Python. The setup leverages VScode, Dev Containers, uv, and ruff.
🌐
Dataduel
dataduel.co › home › running uv in dev containers & github actions
Running uv in dev containers & github actions – DataDuel.co
April 24, 2024 - Since we are using system python with uv, we need to tweak some settings in our dev container. There are two changes to make: (1) run as root user, and (2) add ““chmod 777 /tmp to your postCreateCommand. In your devcontainer.json, add or modify the following lines:
🌐
Development Containers
containers.dev › features
Available Dev Container Features
Development containers documentation and specification page.
🌐
GitHub
github.com › astral-sh › uv › issues › 12197
Improve devcontainer experience, particularly when switching from pip to uv. · Issue #12197 · astral-sh/uv
March 15, 2025 - Summary I tried changing an existing devcontainer to use uv instead of pip, and I ran into the error mentioned in ##11599. Initial devcontainer.json with only uv added: { "name": "Example", "image": "mcr.microsoft.com/devcontainers/pytho...
Author   jtkiley
🌐
GitHub
github.com › dunnkers › python-uv-devcontainer
GitHub - dunnkers/python-uv-devcontainer: Python project setup using a Devcontainer and uv.
Python project setup using a Devcontainer and uv. Contribute to dunnkers/python-uv-devcontainer development by creating an account on GitHub.
Author   dunnkers
🌐
DeepWiki
deepwiki.com › philippschmalen › devcontainer-python-uv-template › 2-getting-started
Getting Started | philippschmalen/devcontainer-python-uv-template | DeepWiki
February 27, 2026 - VS Code detects .devcontainer/devcontainer.json and prompts to reopen in a container. Alternatively, open the Command Palette (Ctrl+Shift+P) and run Dev Containers: Open Folder in Container. ... The entrypoint in .devcontainer/docker-compose.extend.yml is an idle sleep loop (not uvicorn), which keeps the container alive for VS Code to attach to. The actual Python environment lives at /usr/.venv inside the container, populated during the Docker build by uv sync.
🌐
Ivan Lee
ivanlee.me › devcontainers-in-2025-a-personal-take
Devcontainers in 2025: A Personal Take - Ivan Lee
March 2, 2025 - Use a base image like mcr.microsoft.com/devcontainers/base:debian-12 and configure your programming languages and tools from scratch. This is particularly useful if you have a very specific dependencies, like to use tooling manage multiple versions ...
🌐
GitHub
github.com › microsoft › hve-core › issues › 887
feat(devcontainer): Add Python development extensions and uv package manager · Issue #887 · microsoft/hve-core
March 5, 2026 - The uv package manager is the project's chosen Python dependency tool, as specified in the coding standards instructions (uv-projects.instructions.md). It must be installed during container creation so that uv sync and uv run commands work immediately. ... The extension additions follow the existing pattern in devcontainer.json where other language extensions (PowerShell, YAML, etc.) are already listed.
Author   WilliamBerryiii
🌐
Everyday DevOps
markcallen.com › addpython-project-with-devcontainers-in-vs-code
Adding DevContainers to a Python Project - Everyday DevOps
August 6, 2025 - { "name": "Python Dev Container", "build": { "dockerfile": "../Dockerfile", "context": ".." }, "customizations": { "vscode": { "extensions": [ "ms-python.python", "ms-python.debugpy", "ms-python.black-formatter", "charliermarsh.ruff", "ms-python.mypy-type-checker" ], "settings": { "terminal.integrated.shell.linux": "/bin/bash" } } }, "postCreateCommand": "uv sync", "remoteUser": "root", "features": { "ghcr.io/devcontainers/features/git:1": {} } }