Include NRI in "info" output by robmry · Pull Request #6710 · docker/cli

Yeah it should work, see: 649b792

This is how I did it:

  1. Replace refs with master:
diff --git vendor.mod vendor.mod
index e21c8bb8a9..76818c1743 100644
--- vendor.mod
+++ vendor.mod
@@ -28,8 +28,8 @@ require (
        github.com/google/uuid v1.6.0
        github.com/mattn/go-runewidth v0.0.19
        github.com/moby/go-archive v0.1.0
-       github.com/moby/moby/api v1.52.0
-       github.com/moby/moby/client v0.2.1
+       github.com/moby/moby/api master
+       github.com/moby/moby/client master
        github.com/moby/patternmatcher v0.6.0
        github.com/moby/swarmkit/v2 v2.1.1
        github.com/moby/sys/atomicwriter v0.1.0
  1. Run make -f docker.Makefile vendor

  2. The go pseudo version should now be adjusted to match the commit from master:

$ git diff vendor.mod 
diff --git vendor.mod vendor.mod
index e21c8bb8a9..afe83b4628 100644
--- vendor.mod
+++ vendor.mod
@@ -28,8 +28,8 @@ require (
        github.com/google/uuid v1.6.0
        github.com/mattn/go-runewidth v0.0.19
        github.com/moby/go-archive v0.1.0
-       github.com/moby/moby/api v1.52.0
-       github.com/moby/moby/client v0.2.1
+       github.com/moby/moby/api v1.52.1-0.20251216125034-b2d84a3ef5a9
+       github.com/moby/moby/client v0.2.2-0.20251216125034-b2d84a3ef5a9
        github.com/moby/patternmatcher v0.6.0
        github.com/moby/swarmkit/v2 v2.1.1
        github.com/moby/sys/atomicwriter v0.1.0


$ git diff --stat
 vendor.mod                                                  |  4 +--
 vendor.sum                                                  |  8 +++---
 vendor/github.com/moby/moby/api/LICENSE                     | 17 +++++++++---
 .../github.com/moby/moby/api/types/image/image_history.go   | 39 ---------------------------
 vendor/github.com/moby/moby/api/types/system/info.go        |  6 +++++
 vendor/github.com/moby/moby/client/LICENSE                  | 17 +++++++++---
 vendor/github.com/moby/moby/client/client.go                |  2 +-
 vendor/modules.txt                                          |  4 +--
 8 files changed, 43 insertions(+), 54 deletions(-)