Skip to content

Commit

Permalink
Fix docker version detection
Browse files Browse the repository at this point in the history
  • Loading branch information
msaggiorato authored and tomjn committed Jul 23, 2023
1 parent e4d99a9 commit 6d07243
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,8 @@ if show_logo
provider_version = '??'
when 'hyperv'
provider_version = 'n/a'
when 'docker'
provider_version = VagrantPlugins::DockerProvider::Driver.new.execute("docker", "-v").gsub("Docker version ", "")
else
provider_version = '??'
end
Expand Down

0 comments on commit 6d07243

Please sign in to comment.