lib/vocker/provisioner.rb in vocker-0.3.1 vs lib/vocker/provisioner.rb in vocker-0.3.2
- old
+ new
@@ -17,9 +17,11 @@
@logger = Log4r::Logger.new("vagrant::provisioners::vocker")
@logger.info("Checking for Docker installation...")
@installer.ensure_installed
+ # Attempt to start service if not running
+ @client.start_service
unless @client.daemon_running?
raise Errors::DockerNotRunning
end
if config.images.any?