Posts tagged with "docker"
I've already espounded the advantages of docker in other posts, but I'd thought it might be useful to share (and document for my own benefit), how I've been running my own personal drupal projects using docker. There are already some great pre-built drupal images out there on the docker registry, but partly because none quite fitted my workflow, and partly to better understand how it works, I setup my own. This post details the docker-compose config I use for my drupal projects.
Setting up an effective development environment using docker requires a change of thinking when coming from regular VM tools such as Vagrant. This post discusses some of the concepts around separating services to separate containers, and why you would want to do this.
Docker is a great technology, but in a previous post I mentioned the issues boot2docker has on Mac OS X, specifically with volume mounts.
Since a significant proportional of our development team (including myself) develop on Mac OS X, these issues affect us on a daily basis, so I did some digging to find out the causes of this slowdown and what (if anything) can be done to fix it.
To summarise the problem:
A technology I've been evaluating and testing lately is Docker. It uses Linux container (LXC) technology to provide essentially a native speed linux virtual machine which can be configured via script files (Dockerfiles) and provides a public registry of built-images. The concept is similar to using a virtual machine configured via text files such as vagrant or something similar, except the big bonus is speed, since the native LXC container technology allows direct hardware access on Linux.