bflad/chef-docker — pull request #18 by colinsurprenant (2013-09-27 02:25:31+00:00)
Title: stop service before start so custom docker.conf can be picked up

when using the default recipe, package install will start the service immediately upon installation. After that, the upstart recipe will be called, creating a new docker.conf file which will not be picked up by docker which is already running. This patch makes sure docker is stopped before starting it to pickup the new docker.conf.