Only install Docker if it is not already installed
This commit is contained in:
parent
f5a0c3ed5b
commit
bad4c2103d
|
@ -14,14 +14,14 @@ module VagrantPlugins
|
|||
return
|
||||
end
|
||||
|
||||
if !@machine.guest.capability(:docker_installed)
|
||||
@machine.ui.detail(I18n.t("vagrant.docker_installing"))
|
||||
@machine.guest.capability(:docker_install)
|
||||
end
|
||||
|
||||
if !@machine.guest.capability(:docker_installed)
|
||||
if !@machine.guest.capability(:docker_installed)
|
||||
raise DockerError, :install_failed
|
||||
end
|
||||
end
|
||||
|
||||
if @machine.guest.capability?(:docker_configure_vagrant_user)
|
||||
@machine.guest.capability(:docker_configure_vagrant_user)
|
||||
|
|
Loading…
Reference in New Issue