lib/vocker/docker_installer.rb in vocker-0.2.0 vs lib/vocker/docker_installer.rb in vocker-0.2.1
- old
+ new
@@ -22,9 +22,13 @@
if !@machine.guest.capability(:docker_installed)
raise Errors::DockerInstallFailed
end
end
+
+ if Gem::Version.new(Vagrant::VERSION) >= Gem::Version.new('1.3.0')
+ @machine.guest.capability(:docker_configure_auto_start)
+ end
end
end
end
end