Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 26 additions & 6 deletions packages/agent/go.mod
Original file line number Diff line number Diff line change
@@ -1,18 +1,38 @@
module docker-dashboard-agent

go 1.21
go 1.24.0
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The go directive jumped from 1.21 to 1.24.0, which is a significant minimum Go version increase. If your CI pipeline or Dockerfile uses a Go version older than 1.24, builds will fail after merging. Verify that your build environment (check packages/agent/Dockerfile and any CI configs) already uses Go 1.24+ before merging this.

Fix it with Roo Code or mention @roomote and request a fix.


require (
github.com/docker/docker v25.0.13+incompatible
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This major version bump from v24 to v25 introduces breaking API changes that will prevent the agent from compiling. In Docker SDK v25, ContainerStart accepts container.StartOptions instead of types.ContainerStartOptions, but packages/agent/docker/client.go:181 still uses types.ContainerStartOptions{}. The code changes needed to accommodate the new SDK signatures are not included in this PR. At minimum, client.go needs to be updated to use container.StartOptions for ContainerStart, and you should verify that other types.* usages (like types.Info and types.StatsJSON) are still valid in v25.

Fix it with Roo Code or mention @roomote and request a fix.

github.com/gorilla/websocket v1.5.1
)

require (
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/docker/distribution v2.8.3+incompatible // indirect
github.com/docker/docker v24.0.7+incompatible
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/containerd/log v0.1.0 // indirect
github.com/distribution/reference v0.6.0 // indirect
github.com/docker/go-connections v0.4.0 // indirect
github.com/docker/go-units v0.5.0 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/go-logr/logr v1.4.3 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/moby/term v0.5.2 // indirect
github.com/morikuni/aec v1.1.0 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/opencontainers/image-spec v1.0.2 // indirect
github.com/pkg/errors v0.9.1 // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/sys v0.13.0 // indirect
github.com/gorilla/websocket v1.5.1
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.65.0 // indirect
go.opentelemetry.io/otel v1.40.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.40.0 // indirect
go.opentelemetry.io/otel/metric v1.40.0 // indirect
go.opentelemetry.io/otel/trace v1.40.0 // indirect
golang.org/x/mod v0.12.0 // indirect
golang.org/x/net v0.49.0 // indirect
golang.org/x/sys v0.40.0 // indirect
golang.org/x/time v0.14.0 // indirect
golang.org/x/tools v0.13.0 // indirect
gotest.tools/v3 v3.5.2 // indirect
)