Developmentcontainers Microsoft Vscode Docs Deepwiki

Gombloh
-
developmentcontainers microsoft vscode docs deepwiki

Menu - api/advanced-topics/remote-extensions.md - blogs/2019/09/03/matts-setup.png - blogs/2019/09/03/remote-wsl-extension.png - blogs/2019/09/03/wsl-cow-say.png - blogs/2019/09/03/wsl2.md - blogs/2020/03/02/docker-desktop-wsl-integration.png - blogs/2020/03/02/docker-in-wsl2.md - blogs/2020/03/02/docker-in-wsl2.png - blogs/2020/03/02/docker-ps-in-wsl.png - blogs/2020/03/02/docker-resources-wsl-integration.png - blogs/2020/03/02/docker-run-mongo.png - blogs/2020/03/02/vscode-containers-in-wsl.png - blogs/2020/07/27/19-dockerfile-crop.png - blogs/2020/07/27/2-code-ps-cropped.png - blogs/2020/07/27/containers-edu.md - blogs/2021/06/10/remote-repositories-banner.png - blogs/2021/06/10/remote-repositories.md - docs/remote/faq.md - docs/remote/linux.md - docs/remote/remote-overview.md - docs/remote/ssh-tutorial.md - docs/remote/ssh.md - docs/remote/troubleshooting.md - docs/remote/wsl-tutorial.md - docs/remote/wsl.md - release-notes/images/1_45/release-highlights.png - release-notes/images/1_45/sidebar-section-header.png - release-notes/images/1_45/ts-prompt.png - release-notes/images/1_45/window-title-separator.png - release-notes/images/1_73/Nov2022-PylintPrompt.png - release-notes/images/1_73/compare-with-base.gif - release-notes/images/1_73/diff-algorithm-after.png - release-notes/images/1_73/diff-algorithm-before.png - release-notes/images/1_73/folding-limit-warning.png - release-notes/images/1_73/log-level-output-channel.png - release-notes/images/1_73/md-duplicate-link-def.png - release-notes/images/1_73/md-insert-image.mp4 - release-notes/images/1_73/md-link-highlight.png - release-notes/images/1_73/merge-accept-both.gif - release-notes/images/1_73/merge-accept-combination.gif - release-notes/images/1_73/merge-conflict-counter.gif - release-notes/images/1_73/new-view-menu.png - release-notes/images/1_73/secondary-sidebar-foreground.png - release-notes/images/1_73/settings-editor-indicators-keyboard.gif - release-notes/images/1_73/windows11_insiders_context_menu.png - release-notes/images/1_73/windows11_insiders_context_menu_setup.png - release-notes/v1_45.md - release-notes/v1_73.md - remote-release-notes/images/1_45/add-configuration.png - remote-release-notes/images/1_45/containers-wsl2-support.png - remote-release-notes/images/1_73/create-dev-container.png - remote-release-notes/images/1_73/dev-container-feature-picker.png - remote-release-notes/images/1_73/dev-container-gh-editor.png - remote-release-notes/images/1_73/dev-container-template-picker.png - remote-release-notes/v1_45.md - remote-release-notes/v1_73.md This page documents the Dev Containers extension (ms-vscode-remote.remote-containers ) for VS Code: what development containers are, how to configure them via devcontainer.json , available container features and pre-built images, the devcontainer CLI, lifecycle hooks, dotfiles support, and advanced scenarios such as running containers over SSH or WSL 2.

For the underlying VS Code Server architecture shared across all remote extensions, see Remote Development Architecture. For containerizing and deploying applications with Docker, see Container Tools Extension. A development container (dev container) is a Docker container configured as a complete, reproducible development environment. Rather than installing language runtimes, tools, or dependencies directly on the host machine, everything a project needs to build and run is packaged into the container image.

VS Code connects to the container and runs workspace extensions, the language server, the debugger, and the terminal all from inside it—while the UI remains on the local machine. docs/remote/remote-overview.md18-20 This solves the "works on my machine" problem and eliminates per-developer onboarding time. blogs/2020/07/27/containers-edu.md13-19 Dev Containers: Conceptual Architecture Sources: docs/remote/remote-overview.md18-20 blogs/2020/07/27/containers-edu.md22-28 api/advanced-topics/remote-extensions.md18-25 On Linux, Podman is supported as an alternative runtime by creating a docker symlink pointing to the Podman executable on the PATH .

remote-release-notes/v1_45.md19-23 Sources: docs/remote/linux.md33-34 remote-release-notes/v1_45.md19-23 blogs/2020/07/27/containers-edu.md53-59 The primary workflows include: - Reopen existing folder — Open a local folder in VS Code, then run Dev Containers: Reopen in Container from the Command Palette (F1 ). If nodevcontainer.json exists, VS Code prompts you to select a starting point from templates based on platform and language. remote-release-notes/v1_45.md5-9 - Clone into a container volume — Run Dev Containers: Clone Repository in Container Volume . The repository is cloned directly into a Docker volume, improving I/O performance on macOS and Windows.

docs/remote/faq.md63-64 Sources: blogs/2020/07/27/containers-edu.md83-101 remote-release-notes/v1_45.md5-9 docs/remote/faq.md63-64 devcontainer.json Filedevcontainer.json is the primary configuration file. It lives at .devcontainer/devcontainer.json or at the project root as devcontainer.json . devcontainer.json Property Mapping devcontainer.json supports several built-in variables for dynamic pathing: Sources: remote-release-notes/v1_45.md25-33 blogs/2020/07/27/containers-edu.md21-27 Microsoft publishes pre-built images on the Microsoft Container Registry (MCR). These images serve as the default base when selecting a platform template via Dev Containers: Add Dev Container Configuration Files . remote-release-notes/v1_45.md5-9 Common image types: - Language-specific: Python, Node.js, Java, C++, etc. docs/remote/linux.md12-16 - OS-specific: Ubuntu, Debian, Alpine Linux.

docs/remote/linux.md12-16 Users can also create new containers based on Dev Container Templates, which provide a scaffolded environment for specific stacks. release-notes/v1_73.md27-28 Sources: remote-release-notes/v1_45.md5-9 docs/remote/linux.md12-16 release-notes/v1_73.md27-28 Features are units of installation code that can be added to any devcontainer.json . They allow toolchain components to be composed into an image without writing a custom Dockerfile . release-notes/v1_73.md27-28 A typical features block in devcontainer.json might include Git, Node.js, or Docker-in-Docker.

Sources: release-notes/v1_73.md27-28 Dev containers support several hooks to automate environment setup: initializeCommand : Runs locally before the container is created.onCreateCommand : Runs inside the container after creation.postCreateCommand : Runs inside the container after creation completes (e.g.,npm install ).postStartCommand : Runs inside the container each time it starts.postAttachCommand : Runs inside the container each time VS Code attaches. Dev Container Lifecycle Sequence Sources: blogs/2020/07/27/containers-edu.md134-145 Users can use Remote - SSH and Dev Containers together to open a folder on a remote host inside a container.

This does not require a local Docker client. docs/remote/ssh.md103-109 Dev Containers supports the WSL 2 based engine of Docker Desktop. You can author devcontainer.json in WSL 2 and reopen the WSL 2 folder in a container. remote-release-notes/v1_45.md11-15 VS Code can automatically clone a dotfiles repository and run an install command when a container is created, allowing developers to bring their personalized shell environments into the container. docs/remote/troubleshooting.md22-30 Sources: docs/remote/ssh.md103-109 remote-release-notes/v1_45.md11-15 docs/remote/troubleshooting.md22-30 The Dev Containers extension downloads the VS Code Server locally and transfers it into the container.

Outbound HTTPS (port 443) connectivity is required to: update.code.visualstudio.com vscode.download.prss.microsoft.com For extension installation: marketplace.visualstudio.com *.gallerycdn.vsassets.io Sources: docs/remote/faq.md54-68 Refresh this wiki This wiki was recently refreshed. Please wait 6 days to refresh again. - Development Containers - What Are Development Containers?

Getting Started - Prerequisites - Opening a Folder in a Container - The `devcontainer.json` File - Core Image Properties - Variable Substitutions - Pre-Built Images and Templates - Dev Container Features - Lifecycle Hooks - Advanced Scenarios - Containers on a Remote SSH Host - WSL 2 Support - Dotfiles Support - Connectivity Requirements

People Also Asked

Development Containers |microsoft/vscode-docs|DeepWiki?

Outbound HTTPS (port 443) connectivity is required to: update.code.visualstudio.com vscode.download.prss.microsoft.com For extension installation: marketplace.visualstudio.com *.gallerycdn.vsassets.io Sources: docs/remote/faq.md54-68 Refresh this wiki This wiki was recently refreshed. Please wait 6 days to refresh again. - Development Containers - What Are Development Containers?

Remote Development |microsoft/vscode-docs|DeepWiki?

Outbound HTTPS (port 443) connectivity is required to: update.code.visualstudio.com vscode.download.prss.microsoft.com For extension installation: marketplace.visualstudio.com *.gallerycdn.vsassets.io Sources: docs/remote/faq.md54-68 Refresh this wiki This wiki was recently refreshed. Please wait 6 days to refresh again. - Development Containers - What Are Development Containers?

vscode-docs/docs/containers/debug-python.md at main...?

VS Code connects to the container and runs workspace extensions, the language server, the debugger, and the terminal all from inside it—while the UI remains on the local machine. docs/remote/remote-overview.md18-20 This solves the "works on my machine" problem and eliminates per-developer onboarding time. blogs/2020/07/27/containers-edu.md13-19 Dev Containers: Conceptual Architecture Sources: docs...

How do you format code in Visual Studio Code (VSCode)?

Outbound HTTPS (port 443) connectivity is required to: update.code.visualstudio.com vscode.download.prss.microsoft.com For extension installation: marketplace.visualstudio.com *.gallerycdn.vsassets.io Sources: docs/remote/faq.md54-68 Refresh this wiki This wiki was recently refreshed. Please wait 6 days to refresh again. - Development Containers - What Are Development Containers?

DeepWikiMCP - DevinDocs?

Getting Started - Prerequisites - Opening a Folder in a Container - The `devcontainer.json` File - Core Image Properties - Variable Substitutions - Pre-Built Images and Templates - Dev Container Features - Lifecycle Hooks - Advanced Scenarios - Containers on a Remote SSH Host - WSL 2 Support - Dotfiles Support - Connectivity Requirements