We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refs: devcontainers/spec#95
Complexity: 4
Create Issue
npm i -g @devcontainers/cli
base
base/.devcontainer.json
{ "image": "ubuntu:latest", "postAttachCommand": "echo 'Hello from the postAttachCommand in the base image!'", "features": { "ghcr.io/devcontainers/features/terraform": "latest" }, "customizations": { "vscode": { "extensions": ["chrmarti.regex"] } } }
workspace
workspace/.devcontainer.json
{ "image": "test-base-image", "postAttachCommand": "echo 'Hello from the postAttachCommand in the workspace image!'", "customizations": { "vscode": { "extensions": ["ms-vscode.hexeditor"] } } }
devcontainer build --workspace-folder base --image-name test-base-image
docker inspect test-base-image | grep metadata
devcontainer up --workspace-folder workspace --remove-existing-container
Check https://github.com/devcontainers/spec/blob/chrmarti/imagemetadata/proposals/image-metadata.md for the list of properties that are carried forward on images and how they are merged. Test a few more properties, including some of the additional properties on the devcontainer.json.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Refs: devcontainers/spec#95
Complexity: 4
Create Issue
npm i -g @devcontainers/cli
.base
folder:base/.devcontainer.json
workspace
folder:workspace/.devcontainer.json
devcontainer build --workspace-folder base --image-name test-base-image
.docker inspect test-base-image | grep metadata
devcontainer up --workspace-folder workspace --remove-existing-container
.Check https://github.com/devcontainers/spec/blob/chrmarti/imagemetadata/proposals/image-metadata.md for the list of properties that are carried forward on images and how they are merged. Test a few more properties, including some of the additional properties on the devcontainer.json.
The text was updated successfully, but these errors were encountered: