Docker – RethinkDB recipe

Purpose

The purpose of this recipe is to explain how to build a docker image with RethinkDB pre-installed and ready to run.

We will do this by creating a Dockerfile that downloads the base image, updates and adds an apt source and then installs the database software.

Read more ›

Tagged with: , , , , ,
Posted in Container, Docker, Linux

Pratical Application of Docker and Ruby

Overview

docker-datafeeder, is my first real world use of, and learning experience of, docker and linux containers.

I needed something to continiously feed a constant stream of data files for processing. The files have time-stamped names, along the lines of “CDR.20121101.225323.abc”

I needed to have the timestamp part of the file name changed to the current time.

I had to be able to deliver multiple streams of files, to multiple servers and also wanted to prevent a serious backlog of files building up in the event one or more systems stopped processing the feeds.

To top it off, I wanted to present a decent UI to the end users of this tool, not just a command line interface.

Read more ›

Tagged with: , , , , , ,
Posted in Container, Docker, Linux, Ruby, Ubuntu

Trimming Output to Your Terminal Width..

When tailing logs or reading through the output of any command and some lines are really too long, and they wrap around on the terminal – its really annoying.
Tagged with: , ,
Posted in Linux, Mac OS X, Uncategorized

Docker and Dokku

This is pretty cool. Will use this to create mini rails and scala containers

One of the things that was concerning me was deploying a rails app as easily as possible, in a configuration that only had what was

needed. I was not cerazy on having to install a full blown linux install to deploy a simple little rails app. I searched around for small footprint linux distros (and there are a LOT out there), when I came across docker.

I then found Dokku – Happy days !! This looks awsome.

http://progrium.com/blog/2013/06/19/dokku-the-smallest-paas-implementation-youve-ever-seen/

http://www.docker.io

Tagged with: , , , , ,
Posted in Container, Docker, Linux