Getting started with Dev Containers
summary
Walks through concrete setup steps: VS Code with the dev containers extension, Docker Desktop 4.40, and the template workflow that creates a devcontainer.json committed to the repo. Demonstrates switching PowerShell images (LTS Debian 11 to Debian 12) and seeing PowerShell move from 7.2.19 to PowerShell 7.5, notes a broken postCreate script, shows ~2GB image sizes, and puts a Go API and PowerShell client on the same psummit network so containers talk by name.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 2:25What is a container and dev container
- 4:13VS Code setup
- 5:36Create dev container from template
- 8:02Dev container configuration
- 11:10Customize dev container images
- 13:42Version management across repos
- 17:38Base images and PowerShell
- 19:02PowerShell in Go dev container
- 20:51Debugging Go API in dev container
- 22:39Networking multiple dev containers
- 25:08GitHub Codespaces and closing
related talks
56mDev Containers. What are they and why do you need them?
01h 14mThe Power of Dev Containers and GitHub Codespaces
04mDev Containers in Visual Studio
01h 01mContainers/Docker - what, why and how
47mPlatform Engineering with Development Containers
54mThe Power of Dev Containers and GitHub Codespaces
05mInstant Self-contained Development Environments
01h 01mDevelop in the cloud with dev containers and GitHub Codespaces
