mirror of
https://github.com/containers/podman.git
synced 2025-06-25 11:57:13 +08:00
build(deps): bump github.com/docker/docker
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 20.10.17+incompatible to 20.10.18+incompatible. - [Release notes](https://github.com/docker/docker/releases) - [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md) - [Commits](https://github.com/docker/docker/compare/v20.10.17...v20.10.18) --- updated-dependencies: - dependency-name: github.com/docker/docker dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
2
go.mod
2
go.mod
@ -23,7 +23,7 @@ require (
|
|||||||
github.com/cyphar/filepath-securejoin v0.2.3
|
github.com/cyphar/filepath-securejoin v0.2.3
|
||||||
github.com/digitalocean/go-qemu v0.0.0-20210326154740-ac9e0b687001
|
github.com/digitalocean/go-qemu v0.0.0-20210326154740-ac9e0b687001
|
||||||
github.com/docker/distribution v2.8.1+incompatible
|
github.com/docker/distribution v2.8.1+incompatible
|
||||||
github.com/docker/docker v20.10.17+incompatible
|
github.com/docker/docker v20.10.18+incompatible
|
||||||
github.com/docker/go-connections v0.4.1-0.20210727194412-58542c764a11
|
github.com/docker/go-connections v0.4.1-0.20210727194412-58542c764a11
|
||||||
github.com/docker/go-plugins-helpers v0.0.0-20211224144127-6eecb7beb651
|
github.com/docker/go-plugins-helpers v0.0.0-20211224144127-6eecb7beb651
|
||||||
github.com/docker/go-units v0.5.0
|
github.com/docker/go-units v0.5.0
|
||||||
|
3
go.sum
3
go.sum
@ -518,8 +518,9 @@ github.com/docker/distribution v2.8.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4Kfc
|
|||||||
github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
|
github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
|
||||||
github.com/docker/docker v20.10.12+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
|
github.com/docker/docker v20.10.12+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
|
||||||
github.com/docker/docker v20.10.16+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
|
github.com/docker/docker v20.10.16+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
|
||||||
github.com/docker/docker v20.10.17+incompatible h1:JYCuMrWaVNophQTOrMMoSwudOVEfcegoZZrleKc1xwE=
|
|
||||||
github.com/docker/docker v20.10.17+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
|
github.com/docker/docker v20.10.17+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
|
||||||
|
github.com/docker/docker v20.10.18+incompatible h1:SN84VYXTBNGn92T/QwIRPlum9zfemfitN7pbsp26WSc=
|
||||||
|
github.com/docker/docker v20.10.18+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
|
||||||
github.com/docker/docker-credential-helpers v0.6.3/go.mod h1:WRaJzqw3CTB9bk10avuGsjVBZsD05qeibJ1/TYlvc0Y=
|
github.com/docker/docker-credential-helpers v0.6.3/go.mod h1:WRaJzqw3CTB9bk10avuGsjVBZsD05qeibJ1/TYlvc0Y=
|
||||||
github.com/docker/docker-credential-helpers v0.6.4 h1:axCks+yV+2MR3/kZhAmy07yC56WZ2Pwu/fKWtKuZB0o=
|
github.com/docker/docker-credential-helpers v0.6.4 h1:axCks+yV+2MR3/kZhAmy07yC56WZ2Pwu/fKWtKuZB0o=
|
||||||
github.com/docker/docker-credential-helpers v0.6.4/go.mod h1:ofX3UI0Gz1TteYBjtgs07O36Pyasyp66D2uKT7H8W1c=
|
github.com/docker/docker-credential-helpers v0.6.4/go.mod h1:ofX3UI0Gz1TteYBjtgs07O36Pyasyp66D2uKT7H8W1c=
|
||||||
|
52
vendor/github.com/docker/docker/api/swagger.yaml
generated
vendored
52
vendor/github.com/docker/docker/api/swagger.yaml
generated
vendored
@ -1891,23 +1891,52 @@ definitions:
|
|||||||
|
|
||||||
BuildCache:
|
BuildCache:
|
||||||
type: "object"
|
type: "object"
|
||||||
|
description: |
|
||||||
|
BuildCache contains information about a build cache record.
|
||||||
properties:
|
properties:
|
||||||
ID:
|
ID:
|
||||||
type: "string"
|
type: "string"
|
||||||
|
description: |
|
||||||
|
Unique ID of the build cache record.
|
||||||
|
example: "ndlpt0hhvkqcdfkputsk4cq9c"
|
||||||
Parent:
|
Parent:
|
||||||
|
description: |
|
||||||
|
ID of the parent build cache record.
|
||||||
type: "string"
|
type: "string"
|
||||||
|
example: "hw53o5aio51xtltp5xjp8v7fx"
|
||||||
Type:
|
Type:
|
||||||
type: "string"
|
type: "string"
|
||||||
|
description: |
|
||||||
|
Cache record type.
|
||||||
|
example: "regular"
|
||||||
|
# see https://github.com/moby/buildkit/blob/fce4a32258dc9d9664f71a4831d5de10f0670677/client/diskusage.go#L75-L84
|
||||||
|
enum:
|
||||||
|
- "internal"
|
||||||
|
- "frontend"
|
||||||
|
- "source.local"
|
||||||
|
- "source.git.checkout"
|
||||||
|
- "exec.cachemount"
|
||||||
|
- "regular"
|
||||||
Description:
|
Description:
|
||||||
type: "string"
|
type: "string"
|
||||||
|
description: |
|
||||||
|
Description of the build-step that produced the build cache.
|
||||||
|
example: "mount / from exec /bin/sh -c echo 'Binary::apt::APT::Keep-Downloaded-Packages \"true\";' > /etc/apt/apt.conf.d/keep-cache"
|
||||||
InUse:
|
InUse:
|
||||||
type: "boolean"
|
type: "boolean"
|
||||||
|
description: |
|
||||||
|
Indicates if the build cache is in use.
|
||||||
|
example: false
|
||||||
Shared:
|
Shared:
|
||||||
type: "boolean"
|
type: "boolean"
|
||||||
|
description: |
|
||||||
|
Indicates if the build cache is shared.
|
||||||
|
example: true
|
||||||
Size:
|
Size:
|
||||||
description: |
|
description: |
|
||||||
Amount of disk space used by the build cache (in bytes).
|
Amount of disk space used by the build cache (in bytes).
|
||||||
type: "integer"
|
type: "integer"
|
||||||
|
example: 51
|
||||||
CreatedAt:
|
CreatedAt:
|
||||||
description: |
|
description: |
|
||||||
Date and time at which the build cache was created in
|
Date and time at which the build cache was created in
|
||||||
@ -1925,6 +1954,7 @@ definitions:
|
|||||||
example: "2017-08-09T07:09:37.632105588Z"
|
example: "2017-08-09T07:09:37.632105588Z"
|
||||||
UsageCount:
|
UsageCount:
|
||||||
type: "integer"
|
type: "integer"
|
||||||
|
example: 26
|
||||||
|
|
||||||
ImageID:
|
ImageID:
|
||||||
type: "object"
|
type: "object"
|
||||||
@ -5415,6 +5445,28 @@ paths:
|
|||||||
`/?[a-zA-Z0-9][a-zA-Z0-9_.-]+`.
|
`/?[a-zA-Z0-9][a-zA-Z0-9_.-]+`.
|
||||||
type: "string"
|
type: "string"
|
||||||
pattern: "^/?[a-zA-Z0-9][a-zA-Z0-9_.-]+$"
|
pattern: "^/?[a-zA-Z0-9][a-zA-Z0-9_.-]+$"
|
||||||
|
- name: "platform"
|
||||||
|
in: "query"
|
||||||
|
description: |
|
||||||
|
Platform in the format `os[/arch[/variant]]` used for image lookup.
|
||||||
|
|
||||||
|
When specified, the daemon checks if the requested image is present
|
||||||
|
in the local image cache with the given OS and Architecture, and
|
||||||
|
otherwise returns a `404` status.
|
||||||
|
|
||||||
|
If the option is not set, the host's native OS and Architecture are
|
||||||
|
used to look up the image in the image cache. However, if no platform
|
||||||
|
is passed and the given image does exist in the local image cache,
|
||||||
|
but its OS or architecture does not match, the container is created
|
||||||
|
with the available image, and a warning is added to the `Warnings`
|
||||||
|
field in the response, for example;
|
||||||
|
|
||||||
|
WARNING: The requested image's platform (linux/arm64/v8) does not
|
||||||
|
match the detected host platform (linux/amd64) and no
|
||||||
|
specific platform was requested
|
||||||
|
|
||||||
|
type: "string"
|
||||||
|
default: ""
|
||||||
- name: "body"
|
- name: "body"
|
||||||
in: "body"
|
in: "body"
|
||||||
description: "Container to create"
|
description: "Container to create"
|
||||||
|
3
vendor/github.com/docker/docker/client/client.go
generated
vendored
3
vendor/github.com/docker/docker/client/client.go
generated
vendored
@ -135,9 +135,6 @@ func NewClientWithOpts(ops ...Opt) (*Client, error) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if _, ok := c.client.Transport.(http.RoundTripper); !ok {
|
|
||||||
return nil, fmt.Errorf("unable to verify TLS configuration, invalid transport %v", c.client.Transport)
|
|
||||||
}
|
|
||||||
if c.scheme == "" {
|
if c.scheme == "" {
|
||||||
c.scheme = "http"
|
c.scheme = "http"
|
||||||
|
|
||||||
|
4
vendor/github.com/docker/docker/client/request.go
generated
vendored
4
vendor/github.com/docker/docker/client/request.go
generated
vendored
@ -150,12 +150,10 @@ func (cli *Client) doRequest(ctx context.Context, req *http.Request) (serverResp
|
|||||||
if err.Timeout() {
|
if err.Timeout() {
|
||||||
return serverResp, ErrorConnectionFailed(cli.host)
|
return serverResp, ErrorConnectionFailed(cli.host)
|
||||||
}
|
}
|
||||||
if !err.Temporary() {
|
|
||||||
if strings.Contains(err.Error(), "connection refused") || strings.Contains(err.Error(), "dial unix") {
|
if strings.Contains(err.Error(), "connection refused") || strings.Contains(err.Error(), "dial unix") {
|
||||||
return serverResp, ErrorConnectionFailed(cli.host)
|
return serverResp, ErrorConnectionFailed(cli.host)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// Although there's not a strongly typed error for this in go-winio,
|
// Although there's not a strongly typed error for this in go-winio,
|
||||||
// lots of people are using the default configuration for the docker
|
// lots of people are using the default configuration for the docker
|
||||||
@ -242,11 +240,9 @@ func (cli *Client) addHeaders(req *http.Request, headers headers) *http.Request
|
|||||||
req.Header.Set(k, v)
|
req.Header.Set(k, v)
|
||||||
}
|
}
|
||||||
|
|
||||||
if headers != nil {
|
|
||||||
for k, v := range headers {
|
for k, v := range headers {
|
||||||
req.Header[k] = v
|
req.Header[k] = v
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return req
|
return req
|
||||||
}
|
}
|
||||||
|
|
||||||
|
10
vendor/github.com/docker/docker/pkg/archive/copy.go
generated
vendored
10
vendor/github.com/docker/docker/pkg/archive/copy.go
generated
vendored
@ -354,6 +354,16 @@ func RebaseArchiveEntries(srcContent io.Reader, oldBase, newBase string) io.Read
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Ignoring GoSec G110. See https://github.com/securego/gosec/pull/433
|
||||||
|
// and https://cure53.de/pentest-report_opa.pdf, which recommends to
|
||||||
|
// replace io.Copy with io.CopyN7. The latter allows to specify the
|
||||||
|
// maximum number of bytes that should be read. By properly defining
|
||||||
|
// the limit, it can be assured that a GZip compression bomb cannot
|
||||||
|
// easily cause a Denial-of-Service.
|
||||||
|
// After reviewing with @tonistiigi and @cpuguy83, this should not
|
||||||
|
// affect us, because here we do not read into memory, hence should
|
||||||
|
// not be vulnerable to this code consuming memory.
|
||||||
|
//nolint:gosec // G110: Potential DoS vulnerability via decompression bomb (gosec)
|
||||||
if _, err = io.Copy(rebasedTar, srcTar); err != nil {
|
if _, err = io.Copy(rebasedTar, srcTar); err != nil {
|
||||||
w.CloseWithError(err)
|
w.CloseWithError(err)
|
||||||
return
|
return
|
||||||
|
7
vendor/github.com/docker/docker/pkg/namesgenerator/names-generator.go
generated
vendored
7
vendor/github.com/docker/docker/pkg/namesgenerator/names-generator.go
generated
vendored
@ -758,9 +758,6 @@ var (
|
|||||||
// Helen Brooke Taussig - American cardiologist and founder of the field of paediatric cardiology. https://en.wikipedia.org/wiki/Helen_B._Taussig
|
// Helen Brooke Taussig - American cardiologist and founder of the field of paediatric cardiology. https://en.wikipedia.org/wiki/Helen_B._Taussig
|
||||||
"taussig",
|
"taussig",
|
||||||
|
|
||||||
// Valentina Tereshkova is a Russian engineer, cosmonaut and politician. She was the first woman to fly to space in 1963. In 2013, at the age of 76, she offered to go on a one-way mission to Mars. https://en.wikipedia.org/wiki/Valentina_Tereshkova
|
|
||||||
"tereshkova",
|
|
||||||
|
|
||||||
// Nikola Tesla invented the AC electric system and every gadget ever used by a James Bond villain. https://en.wikipedia.org/wiki/Nikola_Tesla
|
// Nikola Tesla invented the AC electric system and every gadget ever used by a James Bond villain. https://en.wikipedia.org/wiki/Nikola_Tesla
|
||||||
"tesla",
|
"tesla",
|
||||||
|
|
||||||
@ -840,13 +837,13 @@ var (
|
|||||||
// integer between 0 and 10 will be added to the end of the name, e.g `focused_turing3`
|
// integer between 0 and 10 will be added to the end of the name, e.g `focused_turing3`
|
||||||
func GetRandomName(retry int) string {
|
func GetRandomName(retry int) string {
|
||||||
begin:
|
begin:
|
||||||
name := fmt.Sprintf("%s_%s", left[rand.Intn(len(left))], right[rand.Intn(len(right))])
|
name := fmt.Sprintf("%s_%s", left[rand.Intn(len(left))], right[rand.Intn(len(right))]) //nolint:gosec // G404: Use of weak random number generator (math/rand instead of crypto/rand)
|
||||||
if name == "boring_wozniak" /* Steve Wozniak is not boring */ {
|
if name == "boring_wozniak" /* Steve Wozniak is not boring */ {
|
||||||
goto begin
|
goto begin
|
||||||
}
|
}
|
||||||
|
|
||||||
if retry > 0 {
|
if retry > 0 {
|
||||||
name = fmt.Sprintf("%s%d", name, rand.Intn(10))
|
name = fmt.Sprintf("%s%d", name, rand.Intn(10)) //nolint:gosec // G404: Use of weak random number generator (math/rand instead of crypto/rand)
|
||||||
}
|
}
|
||||||
return name
|
return name
|
||||||
}
|
}
|
||||||
|
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
@ -341,7 +341,7 @@ github.com/docker/distribution/reference
|
|||||||
github.com/docker/distribution/registry/api/errcode
|
github.com/docker/distribution/registry/api/errcode
|
||||||
github.com/docker/distribution/registry/api/v2
|
github.com/docker/distribution/registry/api/v2
|
||||||
github.com/docker/distribution/registry/client/auth/challenge
|
github.com/docker/distribution/registry/client/auth/challenge
|
||||||
# github.com/docker/docker v20.10.17+incompatible
|
# github.com/docker/docker v20.10.18+incompatible
|
||||||
## explicit
|
## explicit
|
||||||
github.com/docker/docker/api
|
github.com/docker/docker/api
|
||||||
github.com/docker/docker/api/types
|
github.com/docker/docker/api/types
|
||||||
|
Reference in New Issue
Block a user