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
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
30:25
Working with Dev Containers - YouTube
05:15
Beginner's Guide to VS Code Dev Containers - The Instant Dev ...
Development Containers
containers.dev › implementors › features
Dev Container Features reference
Feature metadata is captured by a devcontainer-feature.json file in the root folder of the feature.
DevPod
devpod.sh › devcontainer.json
devcontainer.json | DevPod docs | DevContainers everywhere
devcontainer.json allows you to reuse certain predefined features within your configuration. 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 ...
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
src - A collection of subfolders, each declaring a Feature. Each subfolder contains at least a devcontainer-feature.json and an install.sh script.
Starred by 1.4K users
Forked by 590 users
Languages Shell
GitHub
github.com › devcontainers › features › blob › main › src › python › devcontainer-feature.json
features/src/python/devcontainer-feature.json at main · 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 - features/src/python/devcontainer-feature.json at main · devcontainers/features
Author devcontainers
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
github.com › devcontainers › features › blob › main › src › node › devcontainer-feature.json
features/src/node/devcontainer-feature.json at main · 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 - features/src/node/devcontainer-feature.json at main · devcontainers/features
Author devcontainers
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
A new .devcontainer/devcontainer.json file will open in the editor. The file will contain some initial properties, including a features object to which you can add new tools, libraries, or runtimes.
GitHub
github.com › devcontainers › features › blob › main › src › docker-in-docker › devcontainer-feature.json
features/src/docker-in-docker/devcontainer-feature.json at main · 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 - features/src/docker-in-docker/devcontainer-feature.json at main · devcontainers/features
Author devcontainers
GitHub
github.com › devcontainers › features › blob › main › src › java › devcontainer-feature.json
features/src/java/devcontainer-feature.json at main · 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 - features/src/java/devcontainer-feature.json at main · devcontainers/features
Author devcontainers
GitHub
docs.github.com › en › enterprise-cloud@latest › codespaces › setting-up-your-project-for-codespaces › configuring-dev-containers › adding-features-to-a-devcontainer-file
Adding features to a devcontainer.json file - GitHub Enterprise Cloud Docs
By default, the latest version of the feature will be used. To choose a different version, or configure other options for the feature, expand the properties listed under "Options" to view the available values, then add the options by manually editing the object in your devcontainer.json file.
Ken Muse
kenmuse.com › blog › intro-to-dev-container-features
Intro to Dev Container Features - Ken Muse
January 21, 2023 - 1"feature-id": { 2 // options, as JSON key-value pairs 3} The feature-id can be in one of three general formats: A reference to an OCI registry (which covers most of the major container registries). These are in the form registry/namespace/repository:version. For example, ghcr.io/devcontainers/features/go:1 is using the GHCR.io registry, has the tenant namespace devcontainers, has the repository path features/go, and is version 1.