Ken Muse
Docker-from-Docker in Alpine Dev Containers
Let’s get a bit crazy for 2023. In this post, we’ll see if we can run some Docker commands from inside our Alpine dev container using Docker-from-Docker and a bit of configuration.

Read this article

Fast Start Dev Containers

Fast Start Dev Containers

Want to reduce how long it takes to get your Dev Container started? Take advantage of some advanced caching techniques!

Read this article

Using the Docker Cache for Faster Builds
There’s more than one way to make your builds fast. When working with Docker, sometimes the easiest way is to use the built-in cache!

Read this article

Waiting for Docker Compose Up
Getting a container running isn’t good enough. You need to know it’s healthy and ready for requests. Today we learn how to get Docker Compose to wait…

Read this article

Forcing Dev Containers To Use AMD64
Loving your new Apple Silicon based Mac, but need to force the container to be AMD64? There’s a hack for that…

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

Avoiding Dubious Ownership in Dev Containers
It’s always best to run containers with the least privileges required. Unfortunately, that may result in Git operations that fail with the message “detected dubious ownership in repository”. The trick to eliminating this is quite simple …

Read this article

Dev Containers and AWS Credentials
Did you know it’s possible to share your AWS credentials between your host computer and your Dev Containers? Once again we explore the power of using mounts in Dev Containers.

Read this article

Dev Containers and node_modules
If you’ve ever worked with Node.js, you’ve dealt with the joy which is node_modules. Thousands of files slowly churning on your hard drive. Even more slowly if you’re trying to delete them. Want to make them easier to manage? Learn how Dev Containers can help.

Read this article

Publishing Images With GitHub Actions
Over the last few weeks, I’ve had a lot of questions about publishing images to registries using GitHub Actions. Today, I’ll explore the answer showing how to do this with registries in both Azure and GitHub. Along the way, I’ll also demonstrate how to use GitHub’s OIDC integration with Azure.

Read this article