Devcontainer support for VSCodium. Build and connect to containers using Docker or Podman.
Important
You need to enable the proposed resolver API for this extension to work.
Update settings keys since v0.7.0:
remote.devcontainer.engine->dev.containers.dockerPathremote.devcontainer.extraArgs->dev.containers.extraArgs
You can open this file by
- Preferences: Configure Runtime Arguments from the command palette (
Ctrl+Shift+p) Ctrl+p, paste~/.vscode-oss/argv.jsonto open the file.
| Command | Description |
|---|---|
| Open workspace in container | Build (if needed) and connect |
| Rebuild and reopen in container | Force rebuild and reconnect |
| Rebuild without cache and reopen in container | Rebuild image from scratch and reconnect |
| Show configuration (devcontainer.json) | Open devcontainer.json |
| Close remote (reopen locally) | Disconnect and reopen on host |
| Get engine version | Show container engine version |
| Show log file | Open build/connection log |
| Setting | Default | Description |
|---|---|---|
dev.containers.dockerPath |
docker |
Container CLI path (docker or podman) |
dev.containers.extraArgs |
[] |
Extra args passed before the subcommand (e.g. ["--root", "/custom/storage"]) |
dev.containers.defaultExtensions |
[] |
Extensions to install in every devcontainer |
These features are not supported, but might be added in the future.
- Compose
- config:
features - config:
portsAttributes - config:
customizations.vscode.settings - config:
shutdownAction(parsed but not enforced) - config:
hostRequirements - config:
waitFor - named config files
.devcontainer/<name>/devcontainer.json - devcontainer on a remote machine (wip!)
While this extension might work with vscode, it is not supported.
This project would not have been possible without the work of:
- codium-devcontainer by @DDorch (Open VSX): Original inspiration
- open-remote-ssh by @jeanp413 (Open VSX): Install script and server setup inspiration
- vscode-remote-oss by @xaberus: Resolver API usage example
{ ... "enable-proposed-api": [ "mythreyak.open-remote-devcontainer" ] }