December 15, 2014 1

Mounting a Windows directory in the Docker VM (boot2docker)

By in Software

If you’re building a Docker image on Windows you’ll want to make your application files available to the Docker VM for inclusion in the container.

Assuming you have installed boot2docker and enabled hardware virtualization, your Windows Users directory will automatically be available inside the Docker VM under the root directory.

For example, C:\Users on your Windows host will be accessible under /c/Users in the Docker VM.

To make any directory available to the VM, you simply need to add it as a shared directory in VirtualBox, and then mount it on the VM:

  1. Open the VM VirtualBox Manager that was installed with boot2docker and open the settings dialog.
  2. Select the ‘Shared Folders’ item from the menu and add a new shared folder definition.
  3. Set the folder path to the directory you want available to the VM (eg, your app root directory) and give it a sensible name, eg ‘my-application’.
  4. Create a new directory on the Docker VM that will contain your application contents, eg:

    mkdir ~/my-application-contents.

  5. Mount your shared application directory to the directory you just created, eg:

    sudo mount -t vboxsf my-application ~/my-application-contents

That’s it. You can now treat ~/my-application-contents as your application working directory and target any of its contents in your Dockerfile.

November 10, 2013 0

Javascript Wave Equation

By in Javascript

Screenshot of JSWave running in a browser

An implementation of a one dimensional wave equation in pure JavaScript and Canvas.
View the Javascript Wave Demo.
View the source on Github

May 17, 2012 5

Augmenting the Responsive Quick Design Response Reality

By in General Development

Are you fed up of your designs ignoring your requests to respond?
Do you enjoy resizing browser windows to see what the transitions won’t look like on devices that don’t support browser resizing?
Are you tired of taking pictures in colour?
Do you yearn for the day when you can open a webpage simply by taking out your phone, opening a proprietary app, taking a photo, re-calibrating, taking another photo and hitting ‘GO!’?

Such are the problems facing today’s ever inventive marketers. But now, with a combination of bleeding-edge technologies, I bring you the solution:

Augmenting the Responsive Quick Design Response Reality

If you want to be first to take advantage of this next generation marketing wankery, get in touch.

Alternatively, visit if you want someone to actually design something for you.