docker

A 13-post collection

Enabling Kubernetes Beta on Docker

Still think this is one of the best things to happen this year! @Docker + #Kubernetes pic.twitter.com/Bgk6fCbruW— Shayne Boyer (@spboyer) December 19, 2017 A few days ago the beta for Kubernetes was checked off for me and I rushed to the machine to get cracking on the new stuff. I've already been using Kubernetes on Azure for a few projects, but being able to run the projects locally is great, especially if I'm traveling or just testing stuff and don't want to push just yet. After enabling the K8s cluster locally, you need to set your kubectl to use the new cluster. I have a number of contexts set for the projects and wasn't sure what the...


Kompose - Docker-Compose to Kubernetes with ease!

I like to use Docker compose files for a couple of reasons. First, I have spent more time that I have in my vacation balance to understand the format. Second, they are great for local development even when I only have a single container, obfuscating the environment variables into a separate file and so on. Since moving to more and more Kubernetes development, and getting in tune with the file spec for deployments; converting the compose files by hand have been painful at times especially with the complicated ones where there are a ton of containers, networking and environment variables. Kompose to the rescue! Through a quick search and reading the docs at kubernetes.io, I came across kompose. kompose...


Introducing metaparticle.io - making Kubernetes and Docker idiomatic for developers

What if you could just add a package to your code? Like npm for node or nuget for .NET, run your app and have it in a container on a Kubernetes cluster? No command line tools like kubectl, helm, docker or whatever we are currently using to create our containerized apps today. Not these are bad, but it should be easier or native to how we are currently writing our apps. Metaparticle.io Metaparticle (metaparticale.io) is a new tool, in progress, announced at KubeCon from Brendan Burns and it's goal is to do just that, make it easier for devs to containerized their applications by just writing code. JavaScript example See full tutorial: https://metaparticle.io/tutorials/javascript/ package....


Setting up my WSL Environment - Azure CLI, Docker and .NET

I recently picked up a Surface Book to start showing that I could do my job regardless of the machine I had. My talks around using command line for ASP.NET Core and Azure have primarily been using my MacBook Pro so to add some diversity to my presentations a core Windows machine is now in the bag too. The Windows Subsystem for Linux is really something and I wanted to get it setup close to or if not the same as I have my OSX dev environment setup. I use oh-my-zsh inside iTerm2 and a slew of .dotfiles for scripts and aliases for the command line stuff I like to do. Sure enough, talk about great timing, I saw...


Lift and Shift - Adding Docker to Nerd Dinner

Modernizing legacy apps has become the theme towards the end of this year or also known as "Lift and Shift". This means taking the monolithic applications built with blood, sweat, and tears and now move them to the cloud. Nerd Dinner (https://nerddinner.codeplex.com/) is an MVC application written back in 2010, the last edit was ~Sept 6, 2013 to the mvc4 branch. I grabbed the mvc branch and copied it over to https://github.com/spboyer/nerddinner-mvc4 and fired it up in Visual Studio 2017. The plan: Migrate the LocalDB to SQL Server in Azure Using the Docker tools in Visual Studio 2017, add the Docker files Publish Docker Images to Azure Container Registry (ACR) Push the new...