Development Containers
containers.dev › implementors › json_reference
Dev Container metadata reference
Today, devcontainer.json includes scenario specific properties for working without a container orchestrator (by directly referencing an image or Dockerfile) and for using Docker Compose as a simple multi-container orchestrator.
Videos
30:25
Working with Dev Containers - YouTube
05:15
Beginner's Guide to VS Code Dev Containers - The Instant Dev ...
19:40
How to build your first Devcontainer - YouTube
06:59
Get Started with Dev Containers in VS Code - YouTube
Using devcontainer json file locally through Docker Desktop
DevPod
devpod.sh › devcontainer.json
devcontainer.json | DevPod docs | DevContainers everywhere
You can think of features as reusable Dockerfile parts that will be merged into your Dockerfile upon creation. This makes it easy to reuse functionality such as docker-in-docker or install extra tooling such as node or kubectl without having to look up the exact Dockerfile commands.
Development Containers
containers.dev › implementors › json_schema
devcontainer.json schema
{ "$schema": "http://json-schema.org/draft-07/schema#", "description": "Defines a dev container", "allowComments": true, "allowTrailingCommas": false, "definitions": { "devContainerCommon": { "type": "object", "properties": { "name": { "type": "string", "description": "A name for the dev container which can be displayed to the user." }, "features": { "type": "object", "description": "Features to add to the dev container.", "additionalProperties": true }, "overrideFeatureInstallOrder": { "type": "array", "description": "Array consisting of the Feature id (without the semantic version) of Features in the order the user wants them to be installed.", "items": { "type": "string" } }, "forwardPorts": { "type": "array", "description": "Ports that are forwarded from the container to the local machine.
GitHub
docs.github.com › en › codespaces › setting-up-your-project-for-codespaces › adding-a-dev-container-configuration › introduction-to-dev-containers
Introduction to dev containers - GitHub Docs
You can use this file to determine the environment of codespaces created for your repository. The contents of this file define a dev container that can include frameworks, tools, extensions, and port forwarding.
GitHub
github.com › devcontainers › features
GitHub - devcontainers/features: A collection of Dev Container Features managed by Dev Container spec maintainers. See https://github.com/devcontainers/feature-starter to publish your own · GitHub
Missing a CLI or language in your otherwise perfect container image? Add the relevant Feature to the features property of a devcontainer.json.
Starred by 1.4K users
Forked by 590 users
Languages Shell
GitHub
github.com › devcontainers › spec › blob › main › docs › specs › devcontainerjson-reference.md
spec/docs/specs/devcontainerjson-reference.md at main · devcontainers/spec
Overrides the user that devcontainer.json supporting services tools / runs as in the container (along with sub-processes like terminals, tasks, or debugging). Does not change the user the container as a whole runs as which can be set using ...
Author devcontainers
Development Containers
containers.dev › implementors › features
Dev Container Features reference
Each property mirrors the behavior of the matching property in devcontainer.json, including the behavior that commands are executed from the context of the project workspace folder. For each lifecycle hook (in Feature installation order), each command contributed by a Feature is executed in ...
DeepWiki
deepwiki.com › devcontainers › spec › 2.1-dev-container-json-reference
Dev Container JSON Reference | devcontainers/spec | DeepWiki
2 weeks ago - The devcontainer.json file contains metadata and settings required to configure a development container for a specific tool and runtime stack.
GitHub
github.com › devcontainers › spec › blob › main › docs › specs › devcontainer-reference.md
spec/docs/specs/devcontainer-reference.md at main · devcontainers/spec
These contents should then be merged with any local devcontainer.json file contents at the time the container is created. An array is used so subsequent image builds can simply append changes to the array rather than attempting to merge at that point - which improves compatibility with arbitrary image build systems. Metadata should be representative of with the following structure, using one entry per Dev Container Feature ...
Author devcontainers
GitHub
github.com › devcontainers › spec
GitHub - devcontainers/spec: Development Containers: Use a container as a full-featured development environment. · GitHub
It is a structured JSON with Comments (jsonc) metadata format that tools can use to store any needed configuration required to develop inside of local or cloud-based containerized coding.
Starred by 5.4K users
Forked by 459 users