vendor: update docker to v28.3.0

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger 2025-06-27 15:46:38 +02:00
parent 1a3b35673d
commit cf87278e66
No known key found for this signature in database
GPG Key ID: EB145DD938A3CAF2
165 changed files with 193 additions and 180 deletions

2
go.mod
View File

@ -26,7 +26,7 @@ require (
github.com/cyphar/filepath-securejoin v0.4.1 github.com/cyphar/filepath-securejoin v0.4.1
github.com/digitalocean/go-qemu v0.0.0-20250212194115-ee9b0668d242 github.com/digitalocean/go-qemu v0.0.0-20250212194115-ee9b0668d242
github.com/docker/distribution v2.8.3+incompatible github.com/docker/distribution v2.8.3+incompatible
github.com/docker/docker v28.2.2+incompatible github.com/docker/docker v28.3.0+incompatible
github.com/docker/go-connections v0.5.0 github.com/docker/go-connections v0.5.0
github.com/docker/go-plugins-helpers v0.0.0-20240701071450-45e2431495c8 github.com/docker/go-plugins-helpers v0.0.0-20240701071450-45e2431495c8
github.com/docker/go-units v0.5.0 github.com/docker/go-units v0.5.0

4
go.sum
View File

@ -119,8 +119,8 @@ github.com/docker/cli v28.2.2+incompatible h1:qzx5BNUDFqlvyq4AHzdNB7gSyVTmU4cgsy
github.com/docker/cli v28.2.2+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= github.com/docker/cli v28.2.2+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8=
github.com/docker/distribution v2.8.3+incompatible h1:AtKxIZ36LoNK51+Z6RpzLpddBirtxJnzDrHLEKxTAYk= github.com/docker/distribution v2.8.3+incompatible h1:AtKxIZ36LoNK51+Z6RpzLpddBirtxJnzDrHLEKxTAYk=
github.com/docker/distribution v2.8.3+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= github.com/docker/distribution v2.8.3+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
github.com/docker/docker v28.2.2+incompatible h1:CjwRSksz8Yo4+RmQ339Dp/D2tGO5JxwYeqtMOEe0LDw= github.com/docker/docker v28.3.0+incompatible h1:ffS62aKWupCWdvcee7nBU9fhnmknOqDPaJAMtfK0ImQ=
github.com/docker/docker v28.2.2+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/docker v28.3.0+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
github.com/docker/docker-credential-helpers v0.9.3 h1:gAm/VtF9wgqJMoxzT3Gj5p4AqIjCBS4wrsOh9yRqcz8= github.com/docker/docker-credential-helpers v0.9.3 h1:gAm/VtF9wgqJMoxzT3Gj5p4AqIjCBS4wrsOh9yRqcz8=
github.com/docker/docker-credential-helpers v0.9.3/go.mod h1:x+4Gbw9aGmChi3qTLZj8Dfn0TD20M/fuWy0E5+WDeCo= github.com/docker/docker-credential-helpers v0.9.3/go.mod h1:x+4Gbw9aGmChi3qTLZj8Dfn0TD20M/fuWy0E5+WDeCo=
github.com/docker/go-connections v0.5.0 h1:USnMq7hx7gwdVZq1L49hLXaFtUdTADjXGp+uj1Br63c= github.com/docker/go-connections v0.5.0 h1:USnMq7hx7gwdVZq1L49hLXaFtUdTADjXGp+uj1Br63c=

View File

@ -1,9 +1,9 @@
package api // import "github.com/docker/docker/api" package api
// Common constants for daemon and client. // Common constants for daemon and client.
const ( const (
// DefaultVersion of the current REST API. // DefaultVersion of the current REST API.
DefaultVersion = "1.50" DefaultVersion = "1.51"
// MinSupportedAPIVersion is the minimum API version that can be supported // MinSupportedAPIVersion is the minimum API version that can be supported
// by the API server, specified as "major.minor". Note that the daemon // by the API server, specified as "major.minor". Note that the daemon

View File

@ -19,10 +19,10 @@ produces:
consumes: consumes:
- "application/json" - "application/json"
- "text/plain" - "text/plain"
basePath: "/v1.50" basePath: "/v1.51"
info: info:
title: "Docker Engine API" title: "Docker Engine API"
version: "1.50" version: "1.51"
x-logo: x-logo:
url: "https://docs.docker.com/assets/images/logo-docker-main.png" url: "https://docs.docker.com/assets/images/logo-docker-main.png"
description: | description: |
@ -56,7 +56,7 @@ info:
is returned. is returned.
If you omit the version-prefix, the current version of the API (v1.50) is used. If you omit the version-prefix, the current version of the API (v1.50) is used.
For example, calling `/info` is the same as calling `/v1.50/info`. Using the For example, calling `/info` is the same as calling `/v1.51/info`. Using the
API without a version-prefix is deprecated and will be removed in a future release. API without a version-prefix is deprecated and will be removed in a future release.
Engine releases in the near future should support this version of the API, Engine releases in the near future should support this version of the API,
@ -2196,8 +2196,7 @@ definitions:
Number of containers using this image. Includes both stopped and running Number of containers using this image. Includes both stopped and running
containers. containers.
This size is not calculated by default, and depends on which API endpoint `-1` indicates that the value has not been set / calculated.
is used. `-1` indicates that the value has not been set / calculated.
x-nullable: false x-nullable: false
type: "integer" type: "integer"
example: 2 example: 2
@ -5863,7 +5862,7 @@ definitions:
type: "integer" type: "integer"
format: "uint64" format: "uint64"
x-nullable: true x-nullable: true
example: 18446744073709551615 example: "18446744073709551615"
ContainerThrottlingData: ContainerThrottlingData:
description: | description: |

View File

@ -1,5 +1,5 @@
// Package backend includes types to send information to server backends. // Package backend includes types to send information to server backends.
package backend // import "github.com/docker/docker/api/types/backend" package backend
import ( import (
"io" "io"

View File

@ -1,4 +1,4 @@
package backend // import "github.com/docker/docker/api/types/backend" package backend
import ( import (
"io" "io"

View File

@ -1,4 +1,4 @@
package blkiodev // import "github.com/docker/docker/api/types/blkiodev" package blkiodev
import "fmt" import "fmt"

View File

@ -1,4 +1,4 @@
package types // import "github.com/docker/docker/api/types" package types
import ( import (
"bufio" "bufio"

View File

@ -1,4 +1,4 @@
package container // import "github.com/docker/docker/api/types/container" package container
import ( import (
"time" "time"

View File

@ -18,11 +18,13 @@ type ExecOptions struct {
AttachStdin bool // Attach the standard input, makes possible user interaction AttachStdin bool // Attach the standard input, makes possible user interaction
AttachStderr bool // Attach the standard error AttachStderr bool // Attach the standard error
AttachStdout bool // Attach the standard output AttachStdout bool // Attach the standard output
Detach bool // Execute in detach mode
DetachKeys string // Escape keys for detach DetachKeys string // Escape keys for detach
Env []string // Environment variables Env []string // Environment variables
WorkingDir string // Working directory WorkingDir string // Working directory
Cmd []string // Execution commands and args Cmd []string // Execution commands and args
// Deprecated: the Detach field is not used, and will be removed in a future release.
Detach bool
} }
// ExecStartOptions is a temp struct used by execStart // ExecStartOptions is a temp struct used by execStart

View File

@ -1,4 +1,4 @@
package container // import "github.com/docker/docker/api/types/container" package container
import ( import (
"errors" "errors"

View File

@ -1,6 +1,6 @@
//go:build !windows //go:build !windows
package container // import "github.com/docker/docker/api/types/container" package container
import "github.com/docker/docker/api/types/network" import "github.com/docker/docker/api/types/network"

View File

@ -1,4 +1,4 @@
package container // import "github.com/docker/docker/api/types/container" package container
import "github.com/docker/docker/api/types/network" import "github.com/docker/docker/api/types/network"

View File

@ -1,4 +1,4 @@
package container // import "github.com/docker/docker/api/types/container" package container
// WaitCondition is a type used to specify a container state for which // WaitCondition is a type used to specify a container state for which
// to wait. // to wait.

View File

@ -1,4 +1,5 @@
package events // import "github.com/docker/docker/api/types/events" package events
import "github.com/docker/docker/api/types/filters" import "github.com/docker/docker/api/types/filters"
// Type is used for event-types. // Type is used for event-types.
@ -111,11 +112,14 @@ type Actor struct {
// Message represents the information an event contains // Message represents the information an event contains
type Message struct { type Message struct {
// Deprecated information from JSONMessage. // Deprecated: use Action instead.
// Information from JSONMessage.
// With data only in container events. // With data only in container events.
Status string `json:"status,omitempty"` // Deprecated: use Action instead. Status string `json:"status,omitempty"`
ID string `json:"id,omitempty"` // Deprecated: use Actor.ID instead. // Deprecated: use Actor.ID instead.
From string `json:"from,omitempty"` // Deprecated: use Actor.Attributes["image"] instead. ID string `json:"id,omitempty"`
// Deprecated: use Actor.Attributes["image"] instead.
From string `json:"from,omitempty"`
Type Type Type Type
Action Action Action Action

View File

@ -2,7 +2,7 @@
Package filters provides tools for encoding a mapping of keys to a set of Package filters provides tools for encoding a mapping of keys to a set of
multiple values. multiple values.
*/ */
package filters // import "github.com/docker/docker/api/types/filters" package filters
import ( import (
"encoding/json" "encoding/json"

View File

@ -1,4 +1,4 @@
package image // import "github.com/docker/docker/api/types/image" package image
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// Code generated by `swagger generate operation`. DO NOT EDIT. // Code generated by `swagger generate operation`. DO NOT EDIT.

View File

@ -75,6 +75,8 @@ type ListOptions struct {
SharedSize bool SharedSize bool
// ContainerCount indicates whether container count should be computed. // ContainerCount indicates whether container count should be computed.
//
// Deprecated: This field has been unused and is no longer required and will be removed in a future version.
ContainerCount bool ContainerCount bool
// Manifests indicates whether the image manifests should be returned. // Manifests indicates whether the image manifests should be returned.

View File

@ -1,4 +1,4 @@
package mount // import "github.com/docker/docker/api/types/mount" package mount
import ( import (
"os" "os"

View File

@ -1,4 +1,4 @@
package network // import "github.com/docker/docker/api/types/network" package network
import ( import (
"time" "time"

View File

@ -1,4 +1,4 @@
package types // import "github.com/docker/docker/api/types" package types
import ( import (
"encoding/json" "encoding/json"

View File

@ -1,4 +1,5 @@
package registry // import "github.com/docker/docker/api/types/registry" package registry
import ( import (
"context" "context"
"encoding/base64" "encoding/base64"

View File

@ -1,4 +1,4 @@
package registry // import "github.com/docker/docker/api/types/registry" package registry
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// DO NOT EDIT THIS FILE // DO NOT EDIT THIS FILE

View File

@ -1,7 +1,7 @@
// FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16: // FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
//go:build go1.23 //go:build go1.23
package registry // import "github.com/docker/docker/api/types/registry" package registry
import ( import (
"encoding/json" "encoding/json"

View File

@ -1,4 +1,4 @@
package strslice // import "github.com/docker/docker/api/types/strslice" package strslice
import "encoding/json" import "encoding/json"

View File

@ -1,4 +1,4 @@
package swarm // import "github.com/docker/docker/api/types/swarm" package swarm
import ( import (
"strconv" "strconv"

View File

@ -1,4 +1,4 @@
package swarm // import "github.com/docker/docker/api/types/swarm" package swarm
import ( import (
"os" "os"

View File

@ -1,4 +1,4 @@
package swarm // import "github.com/docker/docker/api/types/swarm" package swarm
import ( import (
"time" "time"

View File

@ -1,4 +1,4 @@
package swarm // import "github.com/docker/docker/api/types/swarm" package swarm
import ( import (
"github.com/docker/docker/api/types/network" "github.com/docker/docker/api/types/network"

View File

@ -1,4 +1,5 @@
package swarm // import "github.com/docker/docker/api/types/swarm" package swarm
import "github.com/docker/docker/api/types/filters" import "github.com/docker/docker/api/types/filters"
// Node represents a node. // Node represents a node.

View File

@ -1,4 +1,4 @@
package swarm // import "github.com/docker/docker/api/types/swarm" package swarm
// RuntimeType is the type of runtime used for the TaskSpec // RuntimeType is the type of runtime used for the TaskSpec
type RuntimeType string type RuntimeType string

View File

@ -1,3 +1,3 @@
//go:generate protoc --gogofaster_out=import_path=github.com/docker/docker/api/types/swarm/runtime:. plugin.proto //go:generate protoc --gogofaster_out=import_path=github.com/docker/docker/api/types/swarm/runtime:. plugin.proto
package runtime // import "github.com/docker/docker/api/types/swarm/runtime" package runtime

View File

@ -1,4 +1,4 @@
package swarm // import "github.com/docker/docker/api/types/swarm" package swarm
import ( import (
"os" "os"

View File

@ -1,4 +1,4 @@
package swarm // import "github.com/docker/docker/api/types/swarm" package swarm
import ( import (
"time" "time"

View File

@ -1,4 +1,4 @@
package swarm // import "github.com/docker/docker/api/types/swarm" package swarm
import ( import (
"time" "time"

View File

@ -1,4 +1,4 @@
package swarm // import "github.com/docker/docker/api/types/swarm" package swarm
import ( import (
"time" "time"

View File

@ -1,4 +1,4 @@
package time // import "github.com/docker/docker/api/types/time" package time
import ( import (
"fmt" "fmt"

View File

@ -1,4 +1,4 @@
package types // import "github.com/docker/docker/api/types" package types
import ( import (
"github.com/docker/docker/api/types/build" "github.com/docker/docker/api/types/build"

View File

@ -1,4 +1,4 @@
package versions // import "github.com/docker/docker/api/types/versions" package versions
import ( import (
"strconv" "strconv"

View File

@ -1,4 +1,4 @@
package volume // import "github.com/docker/docker/api/types/volume" package volume
import "github.com/docker/docker/api/types/filters" import "github.com/docker/docker/api/types/filters"

View File

@ -1,4 +1,4 @@
package volume // import "github.com/docker/docker/api/types/volume" package volume
// UpdateOptions is configuration to update a Volume with. // UpdateOptions is configuration to update a Volume with.
type UpdateOptions struct { type UpdateOptions struct {

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -39,7 +39,7 @@ For example, to list running containers (the equivalent of "docker ps"):
} }
} }
*/ */
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,6 +1,6 @@
//go:build !windows //go:build !windows
package client // import "github.com/docker/docker/client" package client
// DefaultDockerHost defines OS-specific default host if the DOCKER_HOST // DefaultDockerHost defines OS-specific default host if the DOCKER_HOST
// (EnvOverrideHost) environment variable is unset or empty. // (EnvOverrideHost) environment variable is unset or empty.

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
// DefaultDockerHost defines OS-specific default host if the DOCKER_HOST // DefaultDockerHost defines OS-specific default host if the DOCKER_HOST
// (EnvOverrideHost) environment variable is unset or empty. // (EnvOverrideHost) environment variable is unset or empty.

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"bytes" "bytes"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import "context" import "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"bytes" "bytes"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import "context" import "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"
@ -15,10 +15,10 @@ func (cli *Client) ContainerStart(ctx context.Context, containerID string, optio
} }
query := url.Values{} query := url.Values{}
if len(options.CheckpointID) != 0 { if options.CheckpointID != "" {
query.Set("checkpoint", options.CheckpointID) query.Set("checkpoint", options.CheckpointID)
} }
if len(options.CheckpointDir) != 0 { if options.CheckpointDir != "" {
query.Set("checkpoint-dir", options.CheckpointDir) query.Set("checkpoint-dir", options.CheckpointDir)
} }

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import "context" import "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"bytes" "bytes"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
const ( const (
// EnvOverrideHost is the name of the environment variable that can be used // EnvOverrideHost is the name of the environment variable that can be used

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"bufio" "bufio"
@ -40,7 +40,7 @@ func (cli *Client) postHijacked(ctx context.Context, path string, query url.Valu
// DialHijack returns a hijacked connection with negotiated protocol proto. // DialHijack returns a hijacked connection with negotiated protocol proto.
func (cli *Client) DialHijack(ctx context.Context, url, proto string, meta map[string][]string) (net.Conn, error) { func (cli *Client) DialHijack(ctx context.Context, url, proto string, meta map[string][]string) (net.Conn, error) {
req, err := http.NewRequestWithContext(ctx, http.MethodPost, url, nil) req, err := http.NewRequestWithContext(ctx, http.MethodPost, url, http.NoBody)
if err != nil { if err != nil {
return nil, err return nil, err
} }

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"bytes" "bytes"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

View File

@ -1,4 +1,4 @@
package client // import "github.com/docker/docker/client" package client
import ( import (
"context" "context"

Some files were not shown because too many files have changed in this diff Show More