docker

Docker Cheat Sheet

My last post took you though setting up boot2docker on your system and provided a quick cheat sheet on how to configure and interact with it. In this post I will be laying out a running list of the commands I use with docker to get the most out of my containers. What is Docker? (From docker.com) Docker allows[…]

boot2docker Cheat Sheet

boot2docker – Remote Docker daemon boot2docker is a lightweight Linux distribution based on Tiny Core Linux made specifically to run Docker containers. It runs completely from RAM, weighs ~27MB and boots in ~5s. boot2docker is required if you want to do any work with docker images on a Macintosh.  This includes building images and running containers.[…]

Setting the $JAVA_HOME environment variable on OSX 10.5 or later

Setting the $JAVA_HOME environment variable on the Mac OS can be a little confusing. I hope this clears things up. Open either ~/.bash_profile or ~/.profile in your favorite editor. I am using TextMate and I prefer editing ~/.profile. Add “export JAVA_HOME=$(/usr/libexec/java_home)” to the file and save it. You can reload the current environment without logging[…]