🌐
GitHub
github.com › devcontainers › features › blob › main › src › python › devcontainer-feature.json
features/src/python/devcontainer-feature.json at main · devcontainers/features
"text": "This dev container includes `python3` and `pip3` pre-installed and available on the `PATH`, along with the Python language extensions for Python development."
Author   devcontainers
🌐
GitHub
github.com › microsoft › vscode-dev-containers › blob › main › containers › python-3 › .devcontainer › devcontainer.json
vscode-dev-containers/containers/python-3/.devcontainer/devcontainer.json at main · microsoft/vscode-dev-containers
November 30, 2023 - // Update 'VARIANT' to pick a Python version: 3, 3.10, 3.9, 3.8, 3.7, 3.6 · // Append -bullseye or -buster to pin to an OS version. // Use -bullseye variants on local on arm64/Apple Silicon. "VARIANT": "3.10-bullseye", // Options · "NODE_VERSION": "lts/*" } }, · // Configure tool-specific properties. "customizations": { // Configure properties specific to VS Code. "vscode": { // Set *default* container specific settings.json values on container create.
Author   microsoft
Discussions

python - devcontainer.json for VScode using existing Container - Stack Overflow
How to use existing container in VSCode? I have a file called .devcontainer.json. The path is /home/myname/Documents/ABC/.devcontainer. { "name": "Kaggle Dev CPU", "... More on stackoverflow.com
🌐 stackoverflow.com
docker - VSCode remote-container default python interpreter - Stack Overflow
I then open a python file and hit ... 64-bit"(/usr/bin/python3) to "3.10.4 ('base':conda)" (/opt/conda/bin/python). Is there a way to avoid this last step? Perhaps adding something to the devcontainer.json file?... More on stackoverflow.com
🌐 stackoverflow.com
What kind of extensions should be installed inside a Dev Container?
Any extension you want available to the project running inside the devcontainer you should have on the list. To quickly add extensions from your locally installed extensions. Inside the running dev container you can click the gear icon and select “Add to devcontainer.json” then rebuild the container. More on reddit.com
🌐 r/vscode
5
1
November 7, 2023
devcontainers, poetry and taskfiles
devcontainers serve a different role and should not replace poetry nor taskfiles. poetry helps you manage dependencies and package your application taskfiles help you to formalise repetitive tasks even those that are not centered around Python devcontainers help you to define a reproducible system on which to run your development Think of dev-containers as a superset of your Python venv. Even if incorrect, you can see them as little tiny virtual machines that you use for the development. The advantage of dev-containers is that they can provide system-level dependencies. And I think your listing of poetry and taskfiles is a good example of this. I personally use setuptools and fabric for both use-cases. Now let's assume that I want to contribute to your project and I clone it. Then I would also need to install both poetry and task to work on it. I don't necessarily want to pollute my system with installs that I only need for that one project. If your project provides a dev-container (with those tools installed) I can simply spin it up and am ready to go with all the tools at hand. They are also useful if your project requires some lower level packages during development. For example some C-libraries. Or maybe a full LaTeX environment for whatever reason. With a dev-container I can contribute to the project without any issue. poetry alone could not provide a LaTeX environment. And by using task to set up a LaTeX env, it would pollute my system. So dev-containers are - for me - a preferred solution. Another benefit of them is cross-platform development. Wether I develope on the project in Windows, Linux or MacOS doesn't matter as it all happens in the container. Ever since I started developing in dev-containers I don't really want to go back. It's really awesome isolation (and reproducability). Oh... and usually they always remain optional. If I don't want to use a dev-container then fine. I just need to make sure that my OS is ready for the development. Some people don't like developing inside the container. More on reddit.com
🌐 r/learnpython
3
1
October 22, 2023
🌐
Docker Hub
hub.docker.com › r › microsoft › devcontainers-python
microsoft/devcontainers-python - Docker Image
Develop Python 3 applications. See history⁠ for information on the contents of published images. You can directly reference pre-built versions of Dockerfile by using the image property in .devcontainer/devcontainer.json or updating the FROM statement in your own Dockerfile with one of the following:
🌐
Development Containers
containers.dev › implementors › json_reference
Dev Container metadata reference
The focus of devcontainer.json is to describe how to enrich a container for the purposes of development rather than acting as a multi-container orchestrator format. Instead, container orchestrator formats can be referenced when needed to manage multiple containers and their lifecycles.
🌐
Xebia
xebia.com › home › blog › how to create a devcontainer for your python project
How To Create A Devcontainer For Your Python Project | Xebia
November 21, 2022 - Configuration files, such as .devcontainer/devcontainer.json, play a crucial role in setting up and customizing the development environment for different projects or teams within a repository.
🌐
Development Containers
containers.dev › implementors › features
Dev Container Features reference
Feature metadata is captured by a devcontainer-feature.json file in the root folder of the feature.
🌐
Visual Studio Code
code.visualstudio.com › docs › devcontainers › create-dev-container
Create a Dev Container
November 3, 2021 - Python & PostgreSQL - A Python container that connects to PostgreSQL in a different container. Docker-Outside-of-Docker Compose - Includes the Docker CLI and illustrates how you can use it to access your local Docker install from inside a dev container by volume mounting the Docker Unix socket. After you make your selection, VS Code will add the appropriate .devcontainer/devcontainer.json ...
🌐
Towards Data Science
towardsdatascience.com › home › latest › setting a dockerized python environment – the elegant way
Setting A Dockerized Python Environment - The Elegant Way | Towards Data Science
January 21, 2025 - In a nutshell, the VScode Dev ... three layers: ... The devcontainer.json file defines the session settings, enabling us to set and define the above three layers....
Find elsewhere
🌐
Medium
medium.com › @dexterwilliams04 › getting-started-with-python-3-dev-containers-4f14821fec6b
Getting Started with Python 3 Dev Containers | by Dexter Williams | Medium
October 1, 2020 - For the vs-code-remote-try-python sample project, the dev container definition is only comprised of the Dockerfileand the devcontainer.json file. A description of both files is provided below: ... For the sample project, the added scripts in the Dockerfle are simply taking advantage of features being offered by the base image.
🌐
GitHub
github.com › microsoft › vscode-remote-try-python
GitHub - microsoft/vscode-remote-try-python: Python sample project for trying out Dev Containers · GitHub
Open the .devcontainer/devcontainer.json file. Modify the "onAutoForward" attribute in your portsAttributes from "notify" to "openBrowser". Press F1 and select the Dev Containers: Rebuild Container or Codespaces: Rebuild Container command so the modifications are picked up. ... Press F1 and select the Dev Containers: Configure Container Features...
Starred by 919 users
Forked by 1.8K users
Languages   Python 73.7% | HTML 26.3%
🌐
GitHub
github.com › microsoft › vscode-dev-containers › blob › main › containers › python-3 › README.md
vscode-dev-containers/containers/python-3/README.md at main · microsoft/vscode-dev-containers
While the definition itself works unmodified, you can select the version of Python the container uses by updating the VARIANT arg in the included devcontainer.json (and rebuilding if you've already created the container).
Author   microsoft
🌐
JetBrains
jetbrains.com › help › pycharm › customizing-devcontainer-json-file.html
Customizing various Dev Container settings | PyCharm Documentation
October 2, 2025 - Open the devcontainer.json file and inside the features section, add the reference to the local Feature using auto-completion.
🌐
Stack Overflow
stackoverflow.com › questions › 73520003 › devcontainer-json-for-vscode-using-existing-container
python - devcontainer.json for VScode using existing Container - Stack Overflow
Releases Keep up-to-date on features we add to Stack Overflow and Stack Internal. ... Find centralized, trusted content and collaborate around the technologies you use most. Learn more about Collectives ... Bring the best of human thought and AI automation together at your work. Explore Stack Internal ... I have a file called .devcontainer.json. The path is /home/myname/Documents/ABC/.devcontainer. { "name": "Kaggle Dev CPU", "image": "gcr.io/kaggle-images/python:v100", "extensions": [ "ms-python.python", ], "settings": { "terminal.integrated.shell.linux": "/bin/bash", "python.pythonPath": "/opt/conda/bin/python" }, "devPort": 8888, "shutdownAction": "none" }
🌐
DEV Community
dev.to › jajera › python-development-in-vscode-using-devcontainer-2ao1
Python Development in VSCode Using Devcontainer - DEV Community
December 1, 2024 - Build the Docker container as specified in the devcontainer.json configuration file. Install any dependencies (e.g., Python packages) listed in requirements.txt or other project files.
🌐
Medium
medium.com › @rami.krispin › setting-a-dockerized-python-development-environment-template-de2400c4812b
Setting a Dockerized Python Development Environment Template | by Rami Krispin | Medium
January 13, 2024 - The template was created to enable seamless customization and modification of the Python environment using environment variables. That includes the Python version, the virtual environment name, installation libraries, setting environment variables, etc. Once you clone the template, you can customize devcontainer.json file according to your environment requirements:
🌐
Tigrisdata
tigrisdata.com › blog › dev-containers-python
Standardizing Python Environments with Development Containers | Tigris Object Storage
July 3, 2025 - This could be anything from copying ... running commands. When you define a development container, you make a devcontainer.json manifest that specifies the base image you’re working from and any features you want to add to it....
🌐
Medium
medium.com › data-science › setting-a-dockerized-python-environment-the-elegant-way-f716ef85571d
Setting A Dockerized Python Environment — The Elegant Way | by Rami Krispin | TDS Archive | Medium
April 6, 2024 - In a nutshell, the VScode Dev ... three layers: ... The devcontainer.json file defines the session settings, enabling us to set and define the above three layers....
🌐
GitHub
github.com › devcontainers › features
GitHub - devcontainers/features: A collection of Dev Container Features managed by Dev Container spec maintainers. See https://github.com/devcontainers/feature-starter to publish your own · GitHub
src - A collection of subfolders, each declaring a Feature. Each subfolder contains at least a devcontainer-feature.json and an install.sh script.
Starred by 1.4K users
Forked by 590 users
Languages   Shell
🌐
Packetswitch
packetswitch.co.uk › python-dev-container
How to Containerize Your Python Script with Dev Containers?
August 18, 2024 - A devcontainer.json file in your project tells VS Code how to access (or create) a development container with a well-defined tool and runtime stack. This container can be used to run an application or to separate tools, libraries, or runtimes ...