Ken Muse
Implementing Private VS Code Extensions for Dev Containers
Did you know that dev containers can have their own private Visual Studio Code extensions? By understanding some of the life cycle of the container, it’s possible to create and use extensions that are designed to support a specific dev container or Codespaces environment.

Read this article

The New DevContainer initializeCommand
The world of dev containers is constantly changing. Sometimes, even with community-driven specifications, there is a bit of room for interpretation. The initializeCommand lifecycle script is a great example of this, and the specification has been updated to align with the implementations. Learn how this affects your dev containers (and why your scripts should always be idempotent).

Read this article

Getting User Input When Starting a Dev Container
Sometimes you just need a little human interaction. And sometimes you need that to happen when you’re starting up a dev container so you can configure the environment. Thankfully, there is a way to get user input that works with most of the dev container implementations.

Read this article

Marking Workspaces Safe with Dotfiles
There are many ways to automate the process of marking directories as “safe” to avoid the “detected dubious ownership in repository” message. Last week, I discussed how to modify the devcontainer.json. This week, let’s see an alternative using Dotfiles.

Read this article

Dev Containers, Codespaces, and Bicep, Oh My!
Development Containers and Codespaces bring infrastructure-as-code to developer environments. This post walks through creating a container for editing and deploying Bicep templates to Azure.

Read this article