cli icon indicating copy to clipboard operation
cli copied to clipboard

A reference implementation for the specification that can create and configure a dev container from a devcontainer.json.

Results 155 cli issues
Sort by recently updated
recently updated
newest added

I am trying to build a feature, and I failed. So I wrote a test to see what failed. However, when trying to execute my test, I get this error:...

bug

Currently `devcontainer exec` always runs commands from the workspace folder. I would like to be able to `devcontainer exec` from a subdirectory of my devcontainer project. The proposal is for...

When I attempted to create a new GitHub codespace from https://github.com/enola-dev/enola/pull/518, please note that I am filing this problem using the original first commit 0637b590347653481c7675fa3fc94e88b4a58cdc of that PR, but will...

This demo has no reference of docker file but still the cli asks for the `Dockerfile` at default path. https://gist.github.com/ryuujo1573/95d5c5a3069d0493594e606a8140f8ae I've quickly scanned the lines and the cause may be...

feature-request

SyntaxError: Unexpected token N in JSON at position 0 at JSON.parse () at jH (/opt/homebrew/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:602:773) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async qH (/opt/homebrew/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:600:654) at async JC (/opt/homebrew/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:604:1304) at async HeA (/opt/homebrew/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:604:5465)...

feature-request

For some reason I have to add the following options to the `docker build` command: ``` --add-host=host.docker.internal:host-gateway --build-arg HTTPS_PROXY=http://host.docker.internal:1080 ``` I find from this [doc](https://containers.dev/implementors/json_reference/#image-specific) that I can use `build.args`...

There is currently no way to escape these: https://github.com/devcontainers/cli/blob/22fc75efb709ccd8d2114b457c1ad99d0b5a0c19/src/spec-common/variableSubstitution.ts#L85

bug

Hello! Is there any ETA for adding the `down` and `stop` subcommands? It becomes very tedious to stop the containers manually.

feature-request

it would be nice if `devcontainer templates apply` not only support artifact registry but also path to local templates.

feature-request

# Observed Given the following `test1/.devcontainer/devcontainer.json` (where the image uses `vscode` as the `remoteUser`: ```json { "name": "test1", "image": "mcr.microsoft.com/devcontainers/rust:bullseye", "postCreateCommand": "env ; getent passwd vscode" } ``` The `postCreateCommand`...

info-needed
podman