VS Code Extensions
Auto Devcontainer

Auto Devcontainer

by LarryOates

Automatically reopen a workspace in its devcontainer when the project is opened

Downloads

22

Rating

— (0)

Version

1.0.4

Last updated

Jul 01, 2026

VS Code extension that automatically reopens a workspace in its devcontainer when the project is opened.

GitHub Repository

Usage

  1. Open the target project in VS Code (locally, not in a container)
  2. Run Auto Devcontainer: Enable for this Workspace from the Command Palette (Ctrl+Shift+P)
  3. This writes "autoDevcontainer.enabled": true into .vscode/settings.json
  4. Next time the project is opened, the extension prompts you to reopen in the container

Commands

Command Description
Auto Devcontainer: Enable for this Workspace Enable auto-open for the current project
Auto Devcontainer: Disable for this Workspace Disable auto-open for the current project

Settings

Setting Default Description
autoDevcontainer.enabled false Enable auto-reopen in devcontainer for this workspace

The setting is stored at workspace scope (.vscode/settings.json), so it travels with the repo.

Requirements

The Dev Containers extension must be installed.

Building

npm install
npm run compile
npm run package   # produces auto-devcontainer-<version>.vsix (version from package.json)

Install the .vsix via Extensions → … → Install from VSIX…

Related extensions