I found out about docker this morning via the blog of the people behind AMPlab, creators of Spark and such. In short (because it’s actually much more than this) it lets you run a Spark/Shark cluster (pre-built!) on your PC.

I want to use it to experiment with a (virtual) Spark/Shark cluster on my laptop. Isn’t that cool?!

Unfortunately, docker is built for Ubuntu. Fortunately, there are instructions on how to set it up on other systems.

Two things needed to be done before I got it to work:

  1. Upgrade the amount of memory available to Vagrant to 2GB. See here: http://docs-v1.vagrantup.com/v1/docs/config/vm/customize.html.

  2. Edit the nameserver script in order for the nameserver test to complete with success.

For the second, I changed

dig nameserver @${NAMESERVER_IP} | grep ANSWER -A1 | grep 127.0.0.1 > /dev/null;

into

dig nameserver @${NAMESERVER_IP} | grep ANSWER -A1 | grep ${NAMESERVER_IP} > /dev/null;

Comments