diff --git a/commands/inspect.go b/commands/inspect.go index c6787626..31da0a36 100644 --- a/commands/inspect.go +++ b/commands/inspect.go @@ -115,6 +115,9 @@ func runInspect(dockerCli command.Cli, in inspectOptions) error { if len(n.Flags) > 0 { fmt.Fprintf(w, "Flags:\t%s\n", strings.Join(n.Flags, " ")) } + if ngi.drivers[i].version != "" { + fmt.Fprintf(w, "Buildkit:\t%s\n", ngi.drivers[i].version) + } fmt.Fprintf(w, "Platforms:\t%s\n", strings.Join(platformutil.FormatInGroups(n.Platforms, ngi.drivers[i].platforms), ", ")) } }