Skip to content

Tag: Docker

Solved: Azure Functions in Azure Container Apps – Unable to resolve service for type ‘Microsoft.AspNetCore.Hosting.IHostingEnvironment’ while attempting to activate ‘Microsoft.AspNetCore.Hosting.DefaultApplicationInsightsServiceConfigureOptions’

As mentioned in my previous post I am currently switching my wife’s eshop from Azure App Services to Azure Container Apps. The solution itself uses an Azure Functions project to perform asynchronous operations triggered via queued messages and uses Azure Application Insights for logging and monitoring. The Problem The previous functions project I had was…

Solved: Cannot create container for service traefik: invalid volume specification: ‘/var/run/docker.sock:/var/run/docker.sock:ro’

I’ve been exploring Docker containers and using Traefik as a reverse proxy. I was trying to get the Docker example from https://docs.traefik.io/user-guides/docker-compose/basic-example/ to work with Windows Containers. When I tried to start the containers with the example, Docker returned the following error: ERROR: for traefik Cannot create container for service traefik: invalid volume specification: ‘/var/run/docker.sock:/var/run/docker.sock:ro’…

Workaround: Docker Container Cannot be Started After Windows Restart

Recently I’ve been testing out Docker for Windows. You can find more information on my experience here and here. Today, I started getting strange errors when I tried to start a container in docker. The error I was getting was: Error response from daemon: driver failed programming external connectivity on endpoint cranky_panini: Error starting userland…

Installing Docker on Windows and setup your first .Net Core website

Docker is the de facto standard for application containerisation. Application containerisation refers to when you run your applications within “containers” under a single operating system. This allows a system to run more apps versus if you had to run each app in its own operating system on a hyper-visor. This guide shows you how to…