Ken Muse
Dubious Ownership With Static Web Apps
Git’s safe directory configuration helps to protect users, but it can create challenges. This is especially true when using Hugo with Azure Static Web Sites. In that case, you’re dealing with an Action that bind-mounts the source code into a container. This requires some special handling.

Read this article

Implementing Docker Layer Caching in GitHub Actions
BuildKit provides native support for caching layers to improve build times. In this post, we’ll explore implementing gha, inline, and registry caches with GHCR and GitHub Actions.

Read this article

Implementing Docker-from-Docker for Non-Root Users
The third and final part of our exploration of Features and creating a simple feature. Now it’s time to dive deeper into Linux scripting to create an entrypoint for the non-root users.

Read this article

Improving Docker-From-Docker With Features
Sometimes scripting in containers just isn’t enough. We need modular, reusable components to create repeatable practices. We need to implement our first Feature.

Read this article

Intro to Dev Container Features
One of the newest additions to the dev container specification is Features. Today I’ll explore the basics of the specification and how it lets you create reusable components for your dev containers.

Read this article

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