Dev Containers Specification
containers.dev
1
Leaving SiteNav
External Link Disclaimer
You are about to visit containers.dev. This website is not operated by us. We are not responsible for its content or privacy practices.
About this website
The Development Containers specification is an open standard that defines a container configuration format for development environments, enabling consistent, reproducible dev setups across different tools. Created by Microsoft in 2020 and now governed by contributors including GitHub, GitLab, and JetBrains. Key features: devcontainer.json configuration file defining the development container including base image, features, extensions, ports, environment variables, and lifecycle scripts. Features are modular, reusable container additions that install tools, languages, and runtimes like Node.js, Python, Go, Docker, and Kubernetes via declarative references. Docker Compose support for multi-container development environments. Multi-platform support working with VS Code Dev Containers, GitHub Codespaces, JetBrains IDEs via Remote Development, DevPod, and Coder. Pre-built templates for common stacks including Python, Node.js, Java, Go, Rust, and data science. Lifecycle hooks (onCreateCommand, updateContentCommand, postCreateCommand, postStartCommand) for automating environment setup and dependency installation. Automatic port forwarding from container to host with configurable attributes and labels. Port visibility configurable as private, public, or local only. VS Code extensions specification with settings synchronization. Automatic non-root user creation and configuration for security. Additional volume mounts and SSH key mounting. Support for remote Docker hosts enabling development on remote machines. Public registry of community-contributed features and templates.
Statistics
1
Views
0
Clicks
0
Like
0
Dislike