Package: docker.io / 26.1.5+dfsg1-9

Metadata

Package Version Patches format
docker.io 26.1.5+dfsg1-9 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
debian bash completion no shebang.patch | (download)

cli/contrib/completion/bash/docker | 4 3 + 1 - 0 !
1 file changed, 3 insertions(+), 1 deletion(-)

 remove shebang from bash completion file
 Discussed upstream, rejected as most code editors rely on the shebang
 to correctly indent and highlight the file.
debian systemd unit environment file.patch | (download)

engine/contrib/init/systemd/docker.service | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 use environmentfile with the systemd unit file.
Bug-Debian: http://bugs.debian.org/746774
debian dockerd binary location.patch | (download)

engine/contrib/init/systemd/docker.service | 2 1 + 1 - 0 !
engine/contrib/init/sysvinit-debian/docker | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 fhs compliance.

debian nuke no prompt.patch | (download)

engine/contrib/nuke-graph-directory.sh | 7 0 + 7 - 0 !
1 file changed, 7 deletions(-)

 remove prompt and delay

cli add go.mod file.patch | (download)

cli/go.mod | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 add go.mod file to cli

Fix build issue during tests with
+ gotest.tools/v3

engine add go.mod file.patch | (download)

engine/go.mod | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 add go.mod file to engine

Fix build issue with
+ github.com/coreos/go-systemd/v22
+ gotest.tools/v3

engine avoid hcsshim.patch | (download)

engine/libcontainerd/shimopts/convert.go | 3 0 + 3 - 0 !
engine/pkg/archive/changes_test.go | 28 0 + 28 - 0 !
2 files changed, 31 deletions(-)

---
engine ftbfs mips.patch | (download)

buildkit/snapshot/diffapply_unix.go | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 fix ftbfs on mips
Bug-Upstream: https://github.com/moby/buildkit/issues/5129

engine backport 48368 netlink update.patch | (download)

engine/libnetwork/iptables/conntrack.go | 6 3 + 3 - 0 !
engine/libnetwork/netutils/utils_linux.go | 2 1 + 1 - 0 !
engine/libnetwork/osl/interface_linux.go | 2 1 + 1 - 0 !
3 files changed, 5 insertions(+), 5 deletions(-)

 changes needed for github.com/vishvananda/netlink v1.2.1+
engine backport 48407 netlink EINTR.patch | (download)

engine/daemon/cluster/listen_addr_linux.go | 5 3 + 2 - 0 !
engine/daemon/daemon_unix.go | 3 2 + 1 - 0 !
engine/integration-cli/docker_cli_network_unix_test.go | 7 4 + 3 - 0 !
engine/integration-cli/docker_cli_swarm_test.go | 3 2 + 1 - 0 !
engine/internal/nlwrap/nlwrap_linux.go | 172 172 + 0 - 0 !
engine/libnetwork/drivers/bridge/bridge_linux.go | 9 5 + 4 - 0 !
engine/libnetwork/drivers/bridge/bridge_linux_test.go | 3 2 + 1 - 0 !
engine/libnetwork/drivers/bridge/interface_linux.go | 5 3 + 2 - 0 !
engine/libnetwork/drivers/bridge/interface_linux_test.go | 7 4 + 3 - 0 !
engine/libnetwork/drivers/bridge/network_linux_test.go | 6 3 + 3 - 0 !
engine/libnetwork/drivers/bridge/setup_device_linux_test.go | 12 6 + 6 - 0 !
engine/libnetwork/drivers/bridge/setup_ip_tables_linux.go | 4 2 + 2 - 0 !
engine/libnetwork/drivers/bridge/setup_ip_tables_linux_test.go | 8 4 + 4 - 0 !
engine/libnetwork/drivers/bridge/setup_ipv4_linux_test.go | 7 4 + 3 - 0 !
engine/libnetwork/drivers/bridge/setup_ipv6_linux_test.go | 5 3 + 2 - 0 !
engine/libnetwork/drivers/bridge/setup_verify_linux_test.go | 3 2 + 1 - 0 !
engine/libnetwork/drivers/overlay/ov_network.go | 3 2 + 1 - 0 !
engine/libnetwork/drivers/overlay/ov_utils.go | 3 2 + 1 - 0 !
engine/libnetwork/iptables/conntrack.go | 9 5 + 4 - 0 !
engine/libnetwork/libnetwork_linux_test.go | 4 2 + 2 - 0 !
engine/libnetwork/netutils/utils_linux.go | 13 7 + 6 - 0 !
engine/libnetwork/ns/init_linux.go | 8 4 + 4 - 0 !
engine/libnetwork/osl/interface_linux.go | 21 11 + 10 - 0 !
engine/libnetwork/osl/namespace_linux.go | 11 5 + 6 - 0 !
engine/libnetwork/osl/sandbox_linux_test.go | 5 3 + 2 - 0 !
25 files changed, 262 insertions(+), 74 deletions(-)

 changes needed for github.com/vishvananda/netlink v1.2.1+ (retry on eintr)
test cli skip network tests.patch | (download)

cli/cli/command/image/build_test.go | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 cli/command: skip network tests
 Interestingly, the last time I tried, only the test
 'TestRunBuildFromGitHubSpecialCase' failed,  and it failed only
 for the armel architecture. Which makes absolutely no sense,
 given that it's supposed to fail when there's no network, and
 it should have nothing to do with the architecture.
 .
 Anyway. Let's disable this test.
 .
 Build error below:
 .
 === FAIL: cli/command/image TestRunBuildFromGitHubSpecialCase (0.10s)
 Error: unable to prepare context: unable to 'git clone' to temporary context directory: error fetching: fatal: unable to access 'https://github.com/docker/for-win/': Couldn't connect to server
 : exit status 128
     build_test.go:136: assertion failed: expected error to contain "docker-build-git", got "unable to prepare context: unable to 'git clone' to temporary context directory: error fetching: fatal: unable to access 'https://github.com/docker/for-win/': Couldn't connect to server\n: exit status 128"

test cli skip TestSignCommandLocalFlag.patch | (download)

cli/cli/command/trust/sign_test.go | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 skip testsigncommandlocalflag

No idea why this test used to pass before and fails now...

~~~~
  === RUN   TestSignCommandLocalFlag
  
test skip daemon oci linux pbuilder tests.patch | (download)

engine/daemon/oci_linux_test.go | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 skip failing test testgetsourcemount: "can't find mount point of /"

test skip pkg system chtimes mips64.patch | (download)

engine/pkg/system/chtimes_linux_test.go | 5 5 + 0 - 0 !
engine/pkg/system/chtimes_test.go | 5 5 + 0 - 0 !
2 files changed, 10 insertions(+)

 skip pkg/system chtimes tests on mips64

    === RUN   TestChtimesLinux
        chtimes_linux_test.go:87: Expected: 2262-04-11 23:47:16 +0000 UTC, got: 1990-01-27 10:50:44 +0000 UTC
    
test skip TestGetRootUIDGID.patch | (download)

engine/pkg/idtools/idtools_unix_test.go | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 disable test failing is sbuild.
~~~~
 FAIL: TestGetRootUIDGID (0.00s)
 idtools_unix_test.go:287:
    Error Trace: idtools_unix_test.go:287
    Error:       Not equal:
                 expected: 1009
                 actual  : 2952
    Test:        TestGetRootUIDGID
~~~~

test skip TestStateRunStop.patch | (download)

engine/container/state_test.go | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 disabled unreliable test.
~~~~
 state_test.go:102: ExitCode -1, expected 2, err "context deadline exceeded"
~~~~

cli fix generate man.patch | (download)

cli/scripts/docs/generate-man.sh | 19 3 + 16 - 0 !
1 file changed, 3 insertions(+), 16 deletions(-)

---
test_invalid_cert_pem.patch | (download)

engine/client/client_test.go | 7 0 + 7 - 0 !
1 file changed, 7 deletions(-)

 testnewclientwithopsfromenv expects different response

=== FAIL: client TestNewClientWithOpsFromEnv/invalid_cert_path (0.00s)
    client_test.go:96: assertion failed: expected error "could not load X509 key pair: open invalid/path/cert.pem: no such file or directory", got "Could not load X509 key pair: open invalid/path/cert.pem: no such file or directory"
        open invalid/path/cert.pem: no such file or directory
        Could not load X509 key pair
        github.com/docker/go-connections/tlsconfig.getCert
        	/<<PKGBUILDDIR>>/_build/src/github.com/docker/go-connections/tlsconfig/config.go:183
        github.com/docker/go-connections/tlsconfig.Client
        	/<<PKGBUILDDIR>>/_build/src/github.com/docker/go-connections/tlsconfig/config.go:216
        github.com/docker/docker/client.FromEnv.WithTLSClientConfigFromEnv.func1
        	/<<PKGBUILDDIR>>/_build/src/github.com/docker/docker/client/options.go:174
        github.com/docker/docker/client.FromEnv
        	/<<PKGBUILDDIR>>/_build/src/github.com/docker/docker/client/options.go:40
        github.com/docker/docker/client.NewClientWithOpts
        	/<<PKGBUILDDIR>>/_build/src/github.com/docker/docker/client/client.go:201
        github.com/docker/docker/client.TestNewClientWithOpsFromEnv.func1
        	/<<PKGBUILDDIR>>/_build/src/github.com/docker/docker/client/client_test.go:94
        testing.tRunner
        	/usr/lib/go-1.22/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go-1.22/src/runtime/asm_amd64.s:1695

test disable tests that require root.patch | (download)

engine/daemon/daemon_linux_test.go | 1 1 + 0 - 0 !
engine/hack/test/unit | 3 3 + 0 - 0 !
engine/internal/safepath/join_test.go | 3 3 + 0 - 0 !
engine/pkg/archive/archive_test.go | 1 1 + 0 - 0 !
4 files changed, 8 insertions(+)

 disable tests that assume we run as root

test docker pull error.patch | (download)

engine/distribution/pull_v2_test.go | 18 0 + 18 - 0 !
1 file changed, 18 deletions(-)

 string mismatch

=== FAIL: distribution TestPullSchema2Config/unauthorized (0.00s)
    pull_v2_test.go:302: HTTP GET /v2/
    pull_v2_test.go:302: HTTP GET /v2/docker.io/library/testremotename/blobs/sha256:66ad98165d38f53ee73868f82bd4eed60556ddfee824810a4062c4f777b20a5b
    pull_v2_test.go:332: expected error="download failed after attempts=1: unauthorized: authentication required" to contain "unauthorized: you need to be authenticated"


test cli fix string issues.patch | (download)

cli/cli/command/container/opts_test.go | 4 2 + 2 - 0 !
cli/opts/port_test.go | 10 5 + 5 - 0 !
2 files changed, 7 insertions(+), 7 deletions(-)

 fix minor string issues in cli unit-test

test cli TestInitializeFromClientHangs.patch | (download)

cli/cli/command/cli_test.go | 4 3 + 1 - 0 !
1 file changed, 3 insertions(+), 1 deletion(-)

 not suitable for package tests

test cli TestUseHostOverrideEmpty.patch | (download)

cli/cli/command/context/use_test.go | 4 3 + 1 - 0 !
1 file changed, 3 insertions(+), 1 deletion(-)

 not suitable for package tests

test cli TestCloseRunningCommand.patch | (download)

cli/cli/connhelper/commandconn/commandconn_unix_test.go | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 not suitable for package tests

grpc middleware v1.patch | (download)

buildkit/cmd/buildkitd/grpc_middleware_v1.go | 60 60 + 0 - 0 !
buildkit/cmd/buildkitd/main.go | 5 2 + 3 - 0 !
buildkit/session/grpc.go | 5 2 + 3 - 0 !
buildkit/session/grpc_middleware_v1.go | 106 106 + 0 - 0 !
buildkit/session/session.go | 5 2 + 3 - 0 !
engine/api/server/router/grpc/grpc.go | 5 2 + 3 - 0 !
engine/api/server/router/grpc/grpc_middleware_v1.go | 60 60 + 0 - 0 !
7 files changed, 234 insertions(+), 12 deletions(-)

 copy grpc-middleware v1
buildkit remove hcsshim.patch | (download)

buildkit/cmd/buildkitd/main_containerd_worker.go | 6 0 + 6 - 0 !
1 file changed, 6 deletions(-)

---
buildkit remove jaeger.patch | (download)

buildkit/util/tracing/detect/jaeger/jaeger.go | 85 1 + 84 - 0 !
1 file changed, 1 insertion(+), 84 deletions(-)

---