Show current version of the container runtime

pull/3833/head
Anders F Björklund 2019-03-02 19:42:28 +01:00
parent 0c67b60604
commit 9b2fad5710
1 changed files with 4 additions and 0 deletions

View File

@ -479,6 +479,10 @@ func configureRuntimes(h *host.Host, runner bootstrapper.CommandRunner) cruntime
if err != nil {
exit.WithError("Failed to enable container runtime", err)
}
version := cr.Version()
if version != "" {
console.OutStyle(cr.Name(), "Version of container runtime is %s", version)
}
return cr
}