Visual Studio Code Dev Containers
The Dev Containers extension lets you use a Docker container as a full-featured development environment. Whether you deploy to containers or not, containers make a great development environment because you can:
The extension starts (or attaches to) a development container running a well defined tool and runtime stack. Workspace files can be mounted into the container from the local file system, or copied or cloned into it once the container is running. Extensions are installed and run inside the container where they have full access to the tools, platform, and file system.
You then work with VS Code as if everything were running locally on your machine, except now they are separated inside a container.
You can use Docker with the Dev Containers extension in a few ways, including:
You can learn more in the alternative Docker options doc.
Below are some specific ways you can configure Docker.
While ARMv7l (AArch32), ARMv8l (AArch64), and
Note that while the Docker CLI is required, the Docker daemon/service does not need to be running locally if you are using a remote Docker host.
To get started, follow these steps:
Working with Git? Here are two tips to consider:
Follow the step-by-step tutorial or if you are comfortable with Docker, follow these four steps:
Check out the repository README for things to try. Next, learn how you can:
Another way to learn what you can do with the extension is to browse the commands it provides. Press
You can also click on the Remote Indicator in the status bar to get a list of the most common commands.
For more information, please see the extension documentation.
While an optional install, this extension releases with VS Code. VS Code release notes include a summary of changes to all Remote Development extensions with a link to detailed release notes.
As with VS Code itself, the extensions update during a development iteration. You can use the pre-release version of this extension to regularly get the latest extension updates before the official extension release.
Questions, Feedback, Contributing
Have a question or feedback?
Visual Studio Code Dev Containers and related extensions collect telemetry data to help us build a better experience working remotely from VS Code. We only collect data on which commands are executed. We do not collect any information about image names, paths, etc. The extension respects the
By downloading and using the Visual Studio Dev Containers extension and its related components, you agree to the product license terms and privacy statement.