December 15, 2014
By duncanhall 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.
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:
- Open the VM VirtualBox Manager that was installed with boot2docker and open the settings dialog.
- Select the ‘Shared Folders’ item from the menu and add a new shared folder definition.
- 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’.
- Create a new directory on the Docker VM that will contain your application contents, eg:
- 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
Screenshot of JSWave running in a browser
View the source on Github
May 17, 2012
By duncanhall 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 www.ayetozed.com if you want someone to actually design something for you.