A Windows Docker Container Series (Part 2)

Goals

After Part 1 where we created a build template in Packer for a Docker compatible image of Windows Server, capable of running containers, I was inspired by the West Wind Album Viewer sample project, and decided it was time to start developing a containerized app for the server to run. With Visual Studio 2017 and .NET Framework 4.7, there is native support for running containerized applications with Docker.

From the Docker for Windows website: “Docker for Windows requires 64bit Windows 10 Pro with Hyper-V available”, but I opted for Enterprise which worked fine also. The trick for me was enabling Hyper-V nested virtualization since my Windows 10E image is running in a VM, and also needs the “Virtualization”, and “Containerization” Windows Features enabled, which I will cover more on later. Visual Studio 2017 also contains a native template for .NET Core 2.0 Web API...

A Windows Docker Container Series (Part 1)

Goals

In order to begin my journey into exploring Docker, I felt the need to incorporate as many of the 12 Factor principles as I could into my development pipeline. I also wanted to have a clean place to get started on a Docker workflow, that was isolated from my normal .NET Development environment so as not to conflict, or pickup and unneeded dependencies. I had heard a lot about Hashicorp, and the tools they build for “provisioning, securing, connecting, and running any infrastructure for any application”. So, I decided I wanted to start there, with a fresh Packer Image that could be built, and reused from “scratch” as many times as I would need.

An Introduction to Packer

Packer is an open source tool that was made to create machine images (“single static unit that contains a pre-configured operating system and installed software which is used...

Ramblings Of A Keyboard Nerd

Welcome to my Dev Blog! This area will serve as a documentation of my journey into new technologies. The idea started as an effort to get my teammates, and I to go outside our comfort zone. Often times we fall into “maintenance mode”, where we spend our days working very hard to meet deadlines, and responding to issues, which usually comes at the expense of finding time for innovation and growth. This is my answer to that problem.

I hope you enjoy your stay,

Jon Knopp.