Page MenuHomeDevCentral

Upgrade to Docker client 1.40+ and modern go toolchain
ClosedPublic

Authored by dereckson on Thu, Oct 22, 15:35.

Details

Summary

Fixes the following issue:

(1) Use recent Docker client library

$ containers-ps
panic: Error response from daemon: client version 1.37 is too old. Minimum
supported API version is 1.40, please upgrade your client to a newer version

(2) Document dependencies

$ make cmd/containersps/containersps.go:5:2: no required module provides package
devcentral.nasqueron.org/source/docker-processes/pkg/dockerutils: go.mod file
not found in current directory or any parent directory; see 'go help modules'

Diff Detail

Repository
rDP Docker Processes
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.

For reference c is used because container is now a reference to github.com/docker/docker/api/types/container.

This revision is now accepted and ready to land.Thu, Oct 22, 15:37

Model: Gemini 3.7 Flash (via Junie)