So, I’ve been getting Kubernetes running (following Kelsey Hightower’s tutorial), you need an etcd/fleetd cluster running, and here’s how to get up to speed with that in the Google Cloud.

Tagged with: , , , , ,

Prior to Docker 1.3, you couldn’t mount your Mac directories into your container. This is because Docker itself ran in a VirtualBox environment (boot2docker started this VM), so attempts to mount directories would be referencing the VM. Sure, there were …

Building an image with an artifact inside it on a Mac Read more »

Quick into to Docker’s automagic container linking. If you’re running on a single host and need containers to talk to each other, then this is worth a look.

Tagged with: , ,

If you’re using self-signed HTTPS certificates and find your Selenium + GhostDriver (PhantomJS) scripts failing with a blank HTML page, you might need to tell PhantomJS to ignore SSL errors:- DesiredCapabilities dCaps = new DesiredCapabilities(); dCaps.setJavascriptEnabled(true); dCaps.setCapability(PhantomJSDriverService.PHANTOMJS_CLI_ARGS, new String[]{"–web-security=no", "–ignore-ssl-errors=yes"}); …

Selenium, GhostDriver / PhantomJS and self-signed certificates Read more »

Tagged with: , , , , ,

So, you have an Ajax app and want some way to perform HTML validation. How about using Selenium (to ensure your Ajax app is rendered) and W3.org’s validator?

Tagged with: , ,

If you’re upgrading from Docker v1 on a Mac, there’s now a formal Docker installer. But if you’ve previously used Brew like me, I would ensure you do:- boot2docker stop boot2docker delete brew unlink docker brew unlink boot2docker boot2docker stop …

Docker v1.1.2 and a presentation Read more »

Tagged with: , ,

A quick example of creating a DropWizard service to post to Twitter. You’ll need to register a new app with Twitter, and note down the API keys so it works with your account (instructions provided if you’ve never done this).

Tagged with: , ,

Given Docker is now 1.0, and I was using 0.11 (which has a vulnerability which allows programs to break out from their Docker container), it’s time to upgrade my version running on MacOS. To upgrade the virtual machine:- boot2docker stop …

Update Docker on MacOS Read more »

Tagged with: , ,

Time to make use of Amazon’s AWS offerings – specifically the Simple Storage Service. tl;dr / Executive Summary:- $ curl -L -O https://github.com/AndrewGorton/AwsFileStorage/archive/v1.0.0.zip $ unzip v1.0.0.zip $ cd AwsFileStorage-1.0.0 $ mvn package $ export AWS_ACCESS_KEY=<enter_your_aws_access_key_here> $ export AWS_SECRET_ACCESS_KEY=<enter_your_aws_secret_access_key_here> $ export …

DropWizard and AWS Read more »

Tagged with: , , , ,

Slight improvement to the previous post about building using a Docker container. I’ve split it into two parts. The first part simply creates an image with OpenJDK 1.7, Maven 3.1.1, Git, tar, unzip and vim. The second part downloads the …

Docker build machine for Maven/Java – part 2 Read more »

Tagged with: , , , , , ,