Author : MD TAREQ HASSAN | Updated : 2023/07/24
devcontainers.json
- The
devcontainer.json
file is the central configuration file used create devcontainers in docker - A
devcontainer.json
file in “devcontainer
” folder tells tools and services that support the dev container spec how to create (or access) a dev container with a well-defined tool and runtime stack - Details: (about devcontainers.json)[#]
devcontainer-template.json
- Development container “Templates” are source files packaged together that encode configuration for a complete development environment
- A supporting tool will use the configuration from the Template to build a development container
- Template metadata is captured by a
devcontainer-template.json
file in the root folder of the Template
Details:
- Dev Container Templates reference: https://containers.dev/implementors/templates/
- Self Authoring Guide for Dev Container Templates: https://github.com/devcontainers/template-starter
Features
- “features” property in the devcontainer.json is used to install tools and languages from a pre-defined set of Features
- ‘Features’ are self-contained units of installation code and development container configuration
- Details: devconainers features
Customizations
- Product specific properties go under customizations
- Details: Devcontainers customizations