joeygeiger.com

home

Switch to Linux for Docker

28 Jan 2016

This is a follow up to my previous post where I made an attempt to switch to linux mint to make my docker use easier.

I started over and this time was able to get fully switched over.

One of the main issues was building Go applications for Linux as static binaries. My solution was to ditch gb and start using a Makefile that included some specific commands. After doing this, things are working very nicely and I’m quite happy.

Other changes included using

The other big issue was mysql performance issues. It seems there’s a bug in mySQL when running on ext4 file systems. I was able to add some options

noatime,data=writeback,commit=60,nobarrier

to my /etc/fstab file when mounting the ext4 partitions and all the performance issues disappeared. It’s now actually faster than the OSX version.