H is for Harre.

harre.dev

Containers

Environment variables in an Azure Web App for Containers

Here’s a little gotcha I ran into. A .net core app I wrote needs to run inside a container and the target was a Web App for Containers on the Azure platform. No big deal so far.

The app also needs a few settings for it to do its work. We provide these via environment variables for maximum flexibility. After setting up some CI/CD stuff and deploying the app it wouldn’t start because it wasn’t loading the settings.

Let's talk containers

A recent talk by one of my buddies at ITQ sparked something and I thought I’d share that with you. It’s about containers and where they sit in a software developer point of view.

The platform stack

The thing that caused the spark was this image:

The platform stack

Here we have a rough outline of the platform abstractions we currently see in the wild. Let’s start at the bottom.