lib/vocker/docker_installer.rb in vocker-0.3.0 vs lib/vocker/docker_installer.rb in vocker-0.3.1

- old
+ new

@@ -23,11 +23,13 @@ if !@machine.guest.capability(:docker_installed) raise Errors::DockerInstallFailed end end - if Gem::Version.new(Vagrant::VERSION) >= Gem::Version.new('1.3.0') + if @machine.guest.capability?(:docker_configure_auto_start) @machine.guest.capability(:docker_configure_auto_start) + else + @machine.env.ui.warn I18n.t('vagrant.docker_auto_start_not_available') end end end end end