-
Notifications
You must be signed in to change notification settings - Fork 606
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display buildkit and runc version in nerdctl #1209
Display buildkit and runc version in nerdctl #1209
Conversation
e99b50a
to
c73f694
Compare
de45837
to
6e74159
Compare
6e74159
to
3c349da
Compare
3eb2523
to
21fd1be
Compare
Why |
|
21fd1be
to
d1a64b4
Compare
I mean there is a double |
d1a64b4
to
91059bf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
91059bf
to
61ea7f7
Compare
@AkihiroSuda PTAL PS, Can we release a new version after this merge? |
I need to fix this to update to reflect buildctl in client. Can we wait till tomorrow |
https://github.com/docker/cli/blob/v20.10.8/cli/command/system/version.go#L74-L87 Docker's I guess we can safely extend the struct for nerdctl though. |
61ea7f7
to
733285c
Compare
980a703
to
f1bc481
Compare
pkg/infoutil/infoutil.go
Outdated
stdout, err := exec.Command(buildctlBinary, "--version").Output() | ||
if err != nil { | ||
logrus.Warnf("unable to determine buildkit version: %s", err.Error()) | ||
return dockercompat.ComponentVersion{Name: "buildkit"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return dockercompat.ComponentVersion{Name: "buildkit"} | |
return dockercompat.ComponentVersion{Name: "buildctl"} |
f1bc481
to
6872dfa
Compare
Fixes#1082 Co-authored-by: Akihiro Suda <suda.kyoto@gmail.com> Signed-off-by: Manu Gupta <manugupt1@gmail.com>
6872dfa
to
08f9f6b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fixes#1082 #1082
Signed-off-by: Manu Gupta manugupt1@gmail.com
Testing details