WSL 2 Docker running slow

Yesterday I discovered my new Alpine Linux WordPress container had terrible latency when loading any pages. Running docker stats I could see the issue was not related to resources. A google search brought up this issue on the WSL GitHub project. It turns out there are very low throughput speeds when accessing the Windows file system in a WSL container. This is exactly what I was doing, hosting my WordPress files on the Windows file system instead of in WSL’s file system....

December 23, 2020 · 1 min · chart

Using DinkToPDF on Alpine Linux

One of my recent projects has been containerizing a .NET Core 2.1 application which uses DinkToPDF for producing PDFs. I always default to Alpine for my containers. Here I’ll describe using DinkToPDF on Alpine Linux. At the time of writing, the current version of Alpine in 3.12, that is what I started with. My Alpine Linux Environment I am doing my testing in a container built from mcr.microsoft.com/dotnet/core/aspnet:2.1-alpine3.12 The Issue with DinkToPDF This error was getting throw each time I tried to use Dink....

December 16, 2020 · 3 min · chart