docker

Thu, 03/02/2017 - 09:15

Making Docker for Mac Faster with the Overlay2 Filesystem

Submitted by markoshust Thu, 03/02/2017 - 09:15

By default, Docker for Mac ships with the default filesystem being aufs. This is a fairly antiquated filesystem and is quite slow if you deal with lots of files and filesystem reads and writes. You can see the results of a filesystem benchmark to compare.

The easiest task to do to get better filesystem performance in Docker is to switch to the overlay2 filesystem. This achieves better performance by optimizing how layers are created and managed.


Sun, 08/14/2016 - 05:08

Create and deploy a NodeJS Express app with Docker

Submitted by markoshust Sun, 08/14/2016 - 05:08

I'll show you a stupid fast and simple way to create an express app with NodeJS, then deploy it with Docker. All you need is a simple text editor.

Install NodeJS & Docker

Install node with n:

npm i -g n
n latest

Install Docker by pulling out the appropriate build from https://docs.docker.com/engine/installation/.

App setup

Let's now get our express app setup. Create a new directory and initialize your package.json file:


Mon, 02/01/2016 - 12:58

Creating a Custom Production Docker Image for Meteor 1.3

Submitted by markoshust Mon, 02/01/2016 - 12:58

Meteor 1.3 introduces custom package.json support, which allows you to use custom NPM packages within your Meteor app. This is great, because up to Meteor 1.2 you needed to use oddly formatted "NPM wrapper" packages.

This setup does include a slightly different build process though, as we need to install these custom NPM packages within our production Meteor app.


Mon, 11/23/2015 - 21:31

Setting Up Kubernetes Architecture on Google Cloud Platform

Submitted by markoshust Mon, 11/23/2015 - 21:31

I needed a quick way to kick off some Docker containers, and wanted some experience working with Kubernetes. I've been playing around with Docker for some time now, and wanted to test out a real deployment to Google Cloud Platform.

Architecture Overview

Here's a quick architecture diagram of the different pieces of the Kubernetes architecture.