I’m doing a fair bit of work lately in VS Code devcontainers. They are an amazing way to create consistent development environments without having to install tools locally. I ran into an issue building PowerShell Docker images with modules installed (I specifically needed to install Az PowerShell, the Az ResourceGraph PowerShell module and Pester). Simple […]
Tag: docker
Running kind in Windows
Recently, I wrote a blog about how to run kind to run local Kubernetes cluster In that post I installed kind on my WSL setup. Kind – or Kubernetes in Docker – is a way to run local Kubernetes clusters easily and quickly. In this post, I’ll explore how to setup kind on a Windows […]
Run Kubernetes clusters locally using kind
How often have you created a new Kubernetes cluster to ‘test something new’? How often have you created a new Kubernetes cluster to start learning about new functionalities? In my case, I do this pretty frequently. I very frequently spin up (and down) Azure Kubernetes clusters. This approach comes with two downsides however: it takes […]
How to automatically start the Docker daemon on WSL2
I like running Docker containers in WSL2. However, one piece of nuisance for me has been that the Docker daemon doesn’t automatically start, and there’s no ‘easy’ way to start it automatically. Since WSL2 doesn’t run systemd, you cannot use systemd to automatically start Docker as you typically would in a Linux system. In this […]
Don’t use environment variables in Kubernetes to consume secrets
Managing secrets is a complicated endeavor. Kubernetes has a native secrets implementation, that allows you to store and access secrets from your deployments. A while ago, I read a short free book on Kubernetes Security, by Liz Rice and Michael Hausenblas (apparently O’Reilly calls it a report, but I actually have a hard copy that […]