Devcontainer commands
Inspect discovery, validate configuration, and manage skip markers.
devcontainer check
Parse a devcontainer.json file and print the same translation report that setup --dry-run and start --dry-run use, without loading isolate config, checking for updates, setting up an image, or starting a VM. Setup-stage checks resolve supported public GHCR OCI Features so the report can show the digest and install.sh hash that would run.
iso devcontainer check <path> [--stage setup|start|both]
| Flag | Description |
|---|---|
<path> |
Path to the devcontainer.json file to inspect |
--stage <stage> |
Which lifecycle translation to report: setup, start, or both (default: both) |
--json |
Emit the report as JSON on stdout instead of the text table on stderr |
Use --stage setup to inspect setup-time keys such as features, hostRequirements.cpus, hostRequirements.memory, and remoteUser. Use --stage start to inspect start-time keys such as postStartCommand, containerEnv, forwardPorts, mounts, and hostRequirements.storage.
With --json, a single stage emits one report object ({ entries, source_path, ignored_paths }, or null when no file applied); --stage both emits { "setup": <report>, "start": <report> }. Each entry is { key, status, source, value, note }, with status one of applied/overridden/unsupported/invalid and source one of cli/devcontainer. CI can branch on the translation without scraping the table.
devcontainer ignore
Record a persistent opt-out for a project directory. Future automatic discovery for that project skips .devcontainer/devcontainer.json and reports that the stored preference was used. Explicit --devcontainer <path> still applies a file for that run.
iso devcontainer ignore <project-dir>
devcontainer status
Inspect persistent devcontainer opt-outs. With no project argument, this lists all stored opt-outs.
iso devcontainer status [project-dir]
devcontainer clear
Remove a persistent devcontainer opt-out for a project. If the project directory was moved or deleted, use the absolute path shown by iso devcontainer status.
iso devcontainer clear <project-dir>