Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bumping moby to version v24.0.0-2-g821e4ec4c7, which comprises the following commits: 5ea7b8d091 fix: `docker pull` with platform checks wrong image tag 907f037141 update containerd binary to v1.7.1 8bbfa32741 c8d: The authorizer needs to be set even if AuthConfig is empty 8587a1c617 c8d/builder: implement cache 9717369913 c8d: implement classic builder 233c49438b c8d: Don't create authorizer for empty AuthConfig 2b7424512a c8d/authorizer: Default to docker.io f77a3274b4 [chore] clean up reexec.Init() calls c76bb6a3a3 ci: bin-image workflow 71846e82c1 bin-image bake target ecbc27aa22 vendor: github.com/docker/distribution v2.8.2 1235338836 c8d: implement missing image delete logic 763d2b7996 c8d: fix image history for dangling images 86770904be c8d: fix missing image history bfffb0974e pkg/aaparser: deprecate GetVersion, as it's no longer used e28bc0d271 profiles/apparmor: remove use of aaparser.GetVersion() d169a57306 contrib/apparmor: remove remaining version-conditionals (< 2.9) from template 63640838ba daemon: handleContainerExit(): add execDuration in attributes 012dd239ce docs/api: version-history: also mention /system/df for VirtualSize a87313497b vendor: github.com/containerd/containerd v1.6.21 5f36d4af15 api: synchronize api/swagger.yaml with docs/api/v1.43.yaml 2b6761fd3e d/graphdriver/copy: support src fs w/o xattr support 3e6092f5b2 pkg/jsonmessage: touch-up GoDoc 05cb0e5a7d pkg/jsonmessage: JSONProgress.String(), JSONProgress.now(): simplify 4cadee65b3 pkg/jsonmessage: JSONMessage.Display(): remove special case for 401 errors 66cf0e3f55 client: slightly improve ContainerDiff tests dbb48e4b29 api/types/container: create type for changes endpoint b7e8868235 update go to go1.20.4 bf3c156654 vendor: github.com/moby/term v0.5.0 c1d420ec60 vendor: github.com/moby/term v0.0.0-20221205130635-1aeaba878587 0df38c3e2b vendor: github.com/opencontainers/runtime-spec v1.1.0-rc.2 167fa429f0 daemon: Daemon.CreateImageFromContainer(): remove intermediate vars bf5ae17c16 api/server/router/container: containerRouter.postCommit: inline struct 9613da63dc c8d: commit: generateCommitImageConfig: don't merge image config e510abbc8c daemon/containerd: containerConfigToOciImageConfig: add ArgsEscaped 3eebf4d162 container: split security options to a SecurityOptions struct 8142051a3b libnetwork/osl: unify stubs for NeighOption 0ea41eaa51 libnetwork/osl: unify stubs for IfaceOption 021e89d702 libnetwork/osl: rename var that collided with import 3a4158e4fa libnetwork: add missing stub for getInitializers() 939a4eb5c9 libnetwork: fix stubs 17feabcba0 libnetwork: overlayutils: remove redundant init() 44a6587608 c8d: delete dangling image on pull 1e9ebfb00c libnetwork: inline sendKey() into SetExternalKey() 9d8fcb3296 libnetwork: setKey(): remove intermediate buffer a813d7e961 libnetwork: don't register "libnetwork-setkey" re-exec on non-unix 881fff1a2f libnetwork: processSetKeyReexec: don't use logrus.Fatal() e974599593 libnetwork: processSetKeyReexec() remove defer() 1845a915b0 c8d/import: Don't gc unnamed images 0ffd3225d2 vendor: github.com/opencontainers/runc v1.1.7 2d0e899819 update runc binary to v1.1.7 56fbbde2ed libnetwork/resolvconf: fix some minor (linting) issues 820975595c libnetwork/resolvconf: improve tests for Build 93c7b25ccd libnetwork/resolvconf: refactor tests for readability 43378636d0 libnetwork/resolvconf: allow tests to be run on unix 73c637ad60 libnetwork/resolvconf: use t.TempDir(), change t.Fatal to t.Error fc1e698914 libnetwork/resolvconf: fix TestGet() testing wrong path 55d18b7db9 libnetwork/resolvconf: use []byte for hash instead of string 630fc3839e libnetwork/resolvconf: simplify hashData() and improve performance 12bf850c84 cmd/dockerd: gracefully shut down the API server 520aa08d42 c8d/prune: Logging fixes 52af6d957e c8d/prune: Remove gc.ref labels from configs of deleted images 993ca8c6de cmd/dockerd/trap: log to logrus directly 0f3c5d3893 cmd/dockerd/trap: don't force exit after cleanup a1e1038736 Use the image service instead of the reference store for tagging 9fe5ac6614 c8d: Handle nil container.ImageManifest 16d5d4b6e1 cmd/dockerd: ignore SIGPIPE using signal.Ignore 2d31697d82 daemon: set docker0 subpool as the IPAM pool d8b784a15e daemon/cluster: inline filters da8e07edb5 volume/service: inline filters in tests c0c4a16053 testutil: inline filters in tests b6154189e8 integration: inline filters in tests 1bc0d7080a integration-cli: inline filters in tests 5bc0832766 daemon: inline filters in tests 081b5e3d4e client: inline filters in tests aca8dde362 integration/TestKillContainer: Bigger timeout on Windows 391f9635cc c8d/list: Initialize capacity instead of length 4ec063fade pkg/sysinfo: omit Getpid call in numCPU f66684fdeb fix some comments c399963243 libn/d/overlay: make VNI matcher IPv6-compatible 7d9bb170b7 libn/d/overlay: test the VNI BPF matcher on IPv4 4876c09b2a build(deps): bump github.com/creack/pty from v1.1.11 to v1.1.18 8df3db4b97 c8d: add support for removing images by shortID 117ceac82b daemon/prune: Use errdefs for invalid "until" value e502c69140 builder: use typed error for invalid "until" value 9791756284 overlay2: remove deprecated overlay2.override_kernel_check option 54a125f677 builder-next/prune: Handle "until" filter timestamps 38e791fb2f vendor: update buildkit to v0.11.6 005150ed69 check-config.sh: do not check for RT_GROUP_SCHED f72548956f remove deprecated legacy "overlay" storage-driver 4ecb587eff daemon: skip TestGetInspectData when using containerd snapshotters a82c434447 daemon: setupFakeDaemon(): add fakeImageService 1261fe69a3 API: deprecate VirtualSize field for /images/json and /images/{id}/json eb7738221c Add no-new-privileges to SecurityOptions returned by /info e7980275c0 c8d: align "Size" and "VirtualSize" for images 1e1efe1f61 libnet/d/overlay: clean up iptables rules on network delete 9a9dfb1d0d api/server: getImagesJSON(): don't check version in a loop 3903f16cd6 daemon: remove deprecated AuFS storage driver 890959eea8 builder-next: fix buildkit version bc37e3f830 Fix returning errors from snapshotter.Prepare f846349824 c8d/list: Implement `until` filter d89590eab9 c8d: Implement prune e6ac640d2e vendor: github.com/opencontainers/runc v1.1.6 f531e3cf69 vendor: golang.org/x/net v0.8.0 3886faced8 vendor: golang.org/x/text v0.8.0 d0efca893b update runc binary to v1.1.6 7fe0f73838 Fix argument quoting bugs in dockerd-rootless.sh 9cb5da400c images/Children: Return error edf802956e c8d/list: Implement `label` and `label!` filter 03fc3aad12 daemon: touch-up flag description for --seccomp-profile 5a922dc162 daemon: deprecate --oom-score-adjust for the daemon f696a1b3b3 Fix error checking when pulling from an insecure registry c957ad0067 libnetwork: clean up inDelete network atomically e5dbd28afd Added timeout to validate job in github actions 106c694993 Dockerfile: update xx to 1.2.1 a5d46a15f5 split GetRepository from ImageService 893d28469f vendor: github.com/ishidawataru/sctp v0.0.0-20230406120618-7ff4192f6ff2 f66374f6a8 golangci-lint: enable importas linter to force consistent aliases 81e62af94a use consistent alias for containerd's errdefs package f691b13450 daemon: move code related to stats together 5c78cbd3be pkg/platform: deprecate OSType in favor or runtime.GOOS cf9a76fe8f pkg/platform: un-export consts that are only for internal use 790dd8cc92 pkg/platform: use const for OSType, improve GoDoc 87019144f6 pkg/platform: replace use of deprecated syscall.Syscall 7ca38d64d2 pkg/platform: move package doc to platform-agnostic file 9434919f76 pkg/platform: rename files for consistency be4abf9d6e Vendor containerd 1.6.x with the readonly mount fix 41a230758c c8d: Set the process user on exec 70229b55ec vendor: github.com/moby/swarmkit/v2 v2.0.0-20230406225228-75e92ce14ff7 3f09316e3b vendor: re-vendor to add missing file 8ed900263e libnetwork/overlay: remove host mode 1d46597c8b libnetwork/overlay: remove KVObject implementation f32f09e78f libnetwork/overlay: don't lock network when accessing subnet vni b67446a8fa libnetwork: remove local store from overlay driver 8aa1060c34 libnetwork/overlay: remove live-restore support e3708a89cc libnetwork/overlay: remove vni allocation e251837445 libnetwork/overlay: remove Serf-based clustering 644e3d4cdb libnetwork/netlabel: remove dead code f8b5fe5724 libnetwork/netutils: remove dead code c8d2c6ea77 libnetwork: remove unused props from windows overlay driver 0fa873c0fe libnetwork: remove global store from overlay driver 00037cd44b libnetwork: remove ovrouter cmd e0f36f9d8b ImageService: Pass ctx to Children bea751beb7 c8d: Implement Children by comparing diff ids ba47cdcc0b c8d/list: Implement `reference` filter 4aa2876c75 docker-rootless-setuptools.sh: improve readability of messages 4d04068184 libn/d/overlay: only program xt_bpf rules f6cc8e3512 update go to go1.20.3 465cbccdaf c8d: use the container's configured snapshotter where possible c8f8d11ac4 awslogs: fix non-blocking log drop bug 1b178dffa3 Send an event when an image is deleted 36d28b73fc Send an event when an image is tagged 750218c5e5 d/config: fix default-network-opts in daemon.json 36935bd869 libcontainerd: close stdin sync if possible 3beda17773 integration-cli: rename vars that collided with imports 92e38b6e27 c8d/list: Ignore attestation manifests 773a9d85a1 c8d: Send event when an image is exported 00545ef4d6 c8d: Send event when an image is imported e59f7fba6a pkg/fileutils: remove aliases for deprecated functions and types 6b9968e8b1 client: deprecate NewClient properly 027f70562e c8d/push: Rename jobs to avoid shadowing type e1dd9c0396 c8d/push: Ignore :port when comparing source repository 4a34c501c1 c8d/push: Parse source labels with multiple sources cb788bea9c c8d/push: Add distribution source labels only on success 013e44ec5d c8d/push: Log error if releasing the lease failed c9012c798e c8d/push: Sync mountableBlobs access f6b50d52d4 libnetwork/netutils: drop ElectInterfaceAddresses 61a0e79ad6 vendor: github.com/containerd/containerd v1.6.20 b8e963595e libnetwork: sbState: rename ExtDNS2 back to ExtDNS 0233029d5a vendor: opencontainers/image-spec v1.1.0-rc2.0.20221005185240-3a7f492d3f1b c733cf223d vendor: github.com/containerd/ttrpc v1.1.1 a0ef2ac59c c8d: push: addressing some nits a75354c045 c8d: Implement push e7393d0fc5 images/push: Accept reference 15b9176d53 Add the events services to the containerd image service 77be7b777c update runc binary to v1.1.5 a17029ba49 vendor: github.com/opencontainers/runc v1.1.5 24804e67f5 c8d/commit: Use manifest digest for dangling image 845b328734 Skip Buildkit digest tests 4c459ddabd c8d: add support for `docker diff` e85c69e1b7 Update `github.com/containerd/containerd` to the HEAD of `release/1.6` and vendor f09b1022aa c8d/inspect: Handle dangling images 9e3a6ccf69 libn/i/setmatrix: make generic and constructorless 713c9280ca Move buildkit client opts to new package 4f511bd06e Add akerouanton as curator bb2c5617d6 Add laurazard as curator 988d26afe4 vendor: github.com/moby/buildkit v0.11.5 6caaa8cadc Prefer loading `docker-init` from an appropriate "libexec" directory bae49ff278 libnet/d/windows: log EnableInternalDNS val after setting it 4f48a4ea2a Update delve version 0fa7a4e3b4 client: Add buildkit ClientOpts 965eda3b9a libnet/d/overlay: insert the input-drop rule 66dfc0169f dockerversion: DockerUserAgent(): use sync.Once to construct User-Agent 72dc7a0f7b vendor: github.com/moby/swarmkit/v2 v2.0.0-20230315203717-e28e8ba9bc83 c7ccc68b15 Silence GRPC logs unless our log level is debug be34e93f20 integration-cli: Enable TestExecStartFails on Windows cb76638699 registry/search: pass User-Agent through headers 88992de283 StartWithLogFile: Fix d.cmd race fed1c96e10 TestDaemonRestartKillContainers: Fix loop capture f5050d4ef2 ci: disable testing mergeop and diffop with the dockerd worker 0ac3bf837b builder-next: disable mergeop and diffop c14463d1e4 ci: enable BuildKit tests with containerd integration worker 105b9834fb libnet/d/overlay: add BPF-powered VNI matcher 44cf27b5fc libnet/d/overlay: extract VNI match rule builder 142f46cac1 libn/d/overlay: enforce encryption on sandbox init 0ac02ba342 vendor: github.com/opencontainers/runtime-spec v1.1.0-rc.1 ab131642a1 vendor: github.com/opencontainers/runc v1.1.4 b98c05dc50 vendor: github.com/klauspost/compress v1.16.3 664c0d3201 vendor: github.com/godbus/dbus/v5 v5.1.0 3e4ce10342 vendor: github.com/coreos/go-systemd/v22 v22.5.0 0a2e3f14e7 vendor: github.com/opencontainers/selinux v1.11.0 bc1dec71c5 vendor: github.com/imdario/mergo v0.3.13 9752e43644 vendor: golang.org/x/sys v0.6.0 d4fd582fb2 libnet/d/overlay: document some encryption code 58504620c5 api/types/container: IpcMode: use common function for container-mode 6f0e28d024 api/types/container: PidMode: fix validation for empty container name/ID 53c813961e api/types/container: fix .Container() returning a name, when it shouldn't c76331e13f api/types/container: put "valid" field as first check in tests 2d49080056 pkg/sysinfo: move MemInfo and ReadMemInfo to a separate package a050db4a6f libnetwork/d/overlay: handle peer ops directly 09d39c023c libnetwork/i/setmatrix: devirtualize 3b569cc686 daemon/graphdriver/windows: cleanup errors bbeaeee3c7 daemon/graphdriver/windows: remove some intermediate variables 9db5dc9a46 daemon/graphdriver/windows: use strings.EqualFold() d742188e3b daemon/graphdriver/windows: remove fileFlagSequentialScan const 3a8c97be45 daemon/graphdriver/windows: rename vars that collided with imports 605e8f53b1 daemon/graphdriver/windows: InitFilter() don't use idtools.MkdirAllAndChown() 34303ccd55 libnetwork/i/setmatrix: un-embed the mutex 127cd9def1 integration/plugin: fix duplicate import 2987393768 integration/volume: fix duplicate import 146df5fbd3 Fix pruning anon volume created from image config 058a31e479 volumes: fix error-handling when removing volumes with swarm enabled a2c29e9128 update containerd binary to v1.7.0 7531f05c7c integration/volumes: TestVolumesRemove: add coverage for force/no-force 7b3acdff5d registry: return concrete service type 3991faf464 Move filtered registry search out of image service 06619763a2 remove GetLayerByID from ImageService interface 02dec48bab update to go1.20.2 37a9d6aabe Fix listener parsering regression when no addr set 3bbffe96e1 vendor: github.com/moby/swarmkit/v2 v2.0.0-20230309194213-a745a8755ce3 af677245fb c8d/builder: Store untagged images as dangling 8f716ca06a builder/overrides: Add consts for attribute key names e807ae4f2e vendor: github.com/containerd/cgroups/v3 v3.0.1 44d0522848 c8d/inspect: Add digested reference to details a8f5c524a0 libcontainerd: Upgrade to typeurl/v2 45ee4d7c78 c8d: Compute container's layer size 4026148ef1 Dockerfile: Update shfmt to 3.6.0 a0741cacef contrib/dockerize-disk.sh: Fix indentation 088aff1620 vendor: github.com/moby/swarmkit/v2 v2.0.0-20230302163403-80a528a86877 f8b468fda2 builder-next: enable more cache backends bba77163ff c8d: Make build and buildx work b0b3c62a84 vendor: github.com/moby/buildkit v0.11.4 117cdb28ce regenerate AUTHORS 608a122aef integration: Extract StopContainerWindowsPollTimeout const 74dbb721aa TestLogs: Increase stop check poll timeout on Windows a34060cdb4 Resolve and store manifest when creating container 168ca2dcc8 Introduce support for docker commit 22f303e422 layer: NewStoreFromOptions(): include driver-name in error message f52e935f36 reference: add test-coverage for digested references f71439d527 reference: don't string-match errors in tests, and fix error format 669940065f reference: use t.TempDir() for tests 520dc12c0e reference: rename variables that collided with type / import c477cda59f c8d/list: Support dangling filter 3e4c4df664 builder/exporter: Remove commented unused const 324290a5eb vendor: buildkit v0.11.4-0.20230228113103-218e934edfba 6588b3eef0 builder: Remove buildkit's build information 4ea1c9f8e5 `docker image ls`: handle multi-platform images a9e7360775 daemon/config: remove AuthzMiddleware field 47e9caede7 libcontainerd/client: Rename `cp` to `checkpoint` 0c751f904f libcontainerd/client: Fix checkpoint not being set be39be87f6 api/server: delete Wait method 91c2b12205 Make default options for newly created networks configurable 19ad4ac03d registry: acquire mutex in IsInsecureRegistry ef6f5367dc vendor: github.com/containerd/containerd v1.6.19 5997ad8512 vendor: github.com/Microsoft/hcsshim v0.9.7 0a6a726d26 api/server: drop unused Config struct 248745004a api: Remove <none> in Repo(Tags|Digests) for >= 1.43 0ffaa6c785 daemon: add annotations to container HostConfig 3c59ef247f libnet/ipam: use netip types internally 01dbe23b6f libnet/ipam: simplify the data model 8273db28f3 libnet/ipam: inline parsePoolRequest function 9a8b45c133 libnet/ipam: drop vestiges of custom addrSpaces 18ac200efe libnet/ipam: get rid of superfluous closure 88f6b637a0 libnet/networkdb: fix nil-dereference panic in test f8791db4be c8d/list: Fix Repo(Digests|Tags) for untagged images cd779dae46 Upgrade to Go 1.20.1 d4e7a87b96 Upgrade to Go 1.20 3606d6a7cd Upgrade to golangci-lint v1.51.2 2f9e3cca3d api: Move Repo(Digests|Tags) <none> fallback from daemon 8657c87c8c c8d/tag: Don't create a separate error variable 9f6649b248 AUTHORS: regenerate 50d7164978 docs/api: add v1.43 OpenAPI definitions bb21e0f191 Close DecompressStream after layer is downloaded d6c4e17411 Upgrade containerd/fifo to v1.1.0 782a369f92 c8d/pull: Add CRI-compatible annotation of pulled content a770153af0 chore: use http constants to replace numbers 9104cd5441 vendor: github.com/moby/buildkit v0.11.3 b0eed5ade6 daemon: allow shimv2 runtimes to be configured 4a886a3e8f dependency: bump go.etcd.io/bbolt to v1.3.7 e40c4c997e update containerd binary to v1.7.0-beta.4 f8cfd3a61f libnetwork: devirtualize Resolver type faaa4fdf18 libnetwork: forward unknown PTR queries externally 8f5a9a741b libnetwork: fail loudly on resolver iptables setup 25b51cad3d libnetwork: replace ad-hoc semaphore implementation a1f7c644be libnetwork: use dns.Client for forwarded requests e6258e6590 libnetwork: reply SERVFAIL if DNS forwarding fails 9cf8c4f689 libnetwork: extract DNS client exchange to method 854ec3ffb3 libnetwork: extract dialExtDNS to method 51cdd7ceac libnetwork: truncate DNS msgs using library method 860e83e52f libnetwork: get rid of truncation red herring 8a35fb0d1c libnetwork: refactor ServeDNS for readability 0bd30e90bb libnetwork: reply SERVFAIL on resolve error 92aa6e6282 libnetwork: extract fn for external DNS forwarding 78792eae68 libnetwork: add regression test for issue 44575 94feb31516 update to go1.19.6 b62445871e libnet/ipam: fix racy, flaky unit test 81f9f90e47 Do not log connection info before the connection exists c4c54683a9 Revert "apparmor: Check if apparmor_parser is available" 174802e15f vendor: github.com/containerd/containerd v1.6.18 a4e3c67e44 api/s/r/swarm: log backend errors at Debug level e66995d840 d/l/awslogs: fix ineffective Add in test 713e02e03e daemon: handle EISDIR error from runtime 97921915a8 distribution/xfer: fix download fencepost bug 0c68b655f6 Fix loop-closure bugs in tests dea3f2b417 Migrate away from things deprecated in Go 1.20 a36286cf89 vendor: golang.org/x/net v0.7.0 c7de76569e vendor: golang.org/x/text v0.7.0 a53b44a266 vendor: golang.org/x/sys v0.5.0 c53e22af19 add new maintainers! 046cc9e776 libnetwork: check DNS loopback with user DNS opts d31fa84c7c libnet/networkdb: use atomics for stats counters 3539452ef0 libnetwork/networkdb: make go test -race ./libnetwork/networkdb pass 5287b2ddbf libnet/ipam: stop eagerly stringifying debug logs 2e19a4d56b contrib/apparmor: remove version-conditionals (< 2.9) from template 7008a51449 profiles/apparmor: remove version-conditional constraints (< 2.8.96) eaeaa7b7fd vendor: update buildkit to latest v0.11 335907d187 builder: define GetRemotes for the worker 80f8432b52 ci: fix branch filter pattern in buildkit workflow 62be425bcc api: Extract parsing reference from repo and tag afc6e3fa46 c8d/import: Use danglingImageName instead of hardcoded b3a8b6b198 api/tag: Reject digested target references eaa56afda9 daemon/c8d: Implement TagImageWithReference 1ca85e835c daemon/imageService: Remove TagImageWithReference 7b6f71dced daemon: Pass ctx to image tagging operations 22776f8fdb ci: enhance tests distribution e304e82b66 ci: update gotestlist to 0.3.1 ab3fa46502 apparmor: Check if apparmor_parser is available 0137446248 Implement run using the containerd snapshotter e564932792 gha: switch buildkit back to upstream for testing 91725ddc92 libnet/d/ipvlan: gracefully migrate from older dbs 21677816a0 Dockerfile: configure code dir as "safe" directory 3bcb350711 graphdriver/overlay2: usingMetacopy ENOTSUP is non-fatal 521c2b25c2 docs: fix JSON format error af32603ae3 daemon/c8d: Implement save and load 043dbc05df github: apply patch for CNI test that was incorrectly skipped 666334bd48 vendor: update buildkit to v0.11.2 85169a04cf vendor: github.com/tonistiigi/fsutil v0.0.0-20221114235510-0127568185cf cf83842304 Dockerfile: Make it easier to use ctr in shell container 0e4d3feb94 daemon: identify container exits by ProcessID 843fcc96f7 libc8d/remote: name task fifos after task ID 719b08313f libc8d/local: set task id to container id d634ae9b60 Wait longer for exit events on Windows 7950abcc46 libnetwork: delete CHANGELOG.md 31f4ec92f6 update containerd binary to v1.7.0-beta.3 c41c8c2f86 vendor: github.com/containerd/containerd v1.6.16 22098745e7 vendor: github.com/pelletier/go-toml v1.9.5 a264f2dc55 libnetwork/ipam: skip Destroy()ing bitseq.Handle values 6f08fe20e9 libnetwork/bit{seq,map}: delete CheckConsistency() a08a254df3 libnetwork: drop DatastoreConfig discovery type 28edc8e2d6 libnet: convert to new-style driver registration 5595311209 libnetwork/drvregistry: split up the registries d478e13639 libnet: un-plumb datastores from IPAM inits 27cca19c9a libnetwork/drvregistry: drop unused args befff0e13f libnetwork: remove more datastore scope plumbing 142b522946 libnetwork/config: remove vestiges of global scope 52d9883812 libnetwork: drop (*Controller).ReloadConfiguration 9900c7a348 client: improve error messaging on crash e8011d7872 libnw/ipamutils: make local defaults immutable 540d1e0561 libnw: untangle IPAM allocator from global state 48ad9e19e4 libnetwork/netutils: drop ElectInterfaceAddresses cc19eba579 daemon: let libnetwork assign default bridge IPAM a654cbfd2f Use GetBoolOrDefault to remove duplicated invalidFilter usages 0d68591c8e api/types/filters: Add GetBoolOrDefault 390532cbc6 libnetwork/windows/overlay: drop unused variables b3e6aa9316 libnetwork/netutils: clean up GenerateIfaceName 3775939303 libnetwork/netutils: refactor GenerateRandomName 1776f72c96 c8d/progress: Update progress when finished 54f0b0ec4b c8d: Implement image history c0eb207b76 libnetwork/bitseq: refactor JSON marshaling 89ae725d23 libnetwork/bitseq: make mutex an unexported field 94ef26428b libnetwork/bitseq: refactor in terms of bitmap 143c092187 libnetwork/bitmap: optimize binary serialization c4d7294b5c libnetwork/bitmap: remove datastore concerns ad03a09451 libnetwork/bitmap: dup from package bitseq cd2e7fafd4 libnetwork/bitseq: add marshal/unmarshal tests b3c5352386 rootless: support `--ipc=host` 67aa86f1e0 hack: check if cross-compiling before setting ARM target name 25f95b0000 vendor: github.com/moby/swarmkit/v2 v2.0.0-20230119195359-904c221ac281 170a1c4709 hack: display build cmd when DOCKER_DEBUG set 877baae03e hack: remove unnecessary vars in make.sh script b80f16157e hack: remove ORIG_BUILDFLAGS var 0c008cc4f8 hack: remove -installsuffix build flag d2d6ef431f Dockerfile: prefer ld for building against arm64 518be73a5c Dockerfile: smoke tests for static builds f676dab8dc Dockerfile: use clang to build dockerd/docker-proxy f49c88f1c4 Disable chrootarchive.init() on Windows 9b5c21309b images: Pass context to commit related operations 596c8960b2 c8d: Fix resolving truncated id to a descriptor 65c6ba1fc4 vendor: golang.org/x/net v0.5.0 ff14f8ef16 Add GetLibHome stub for non-linux OS 824dc51341 vendor: golang.org/x/text v0.6.0 e66e6bb28a vendor: golang.org/x/sys v0.4.0 dcfe23a038 fix blockThreshold full bug 0b83fd3217 ioutils: add regression test for bytespipe deadlock 71fa3b1337 Dockerfile: fix PKG_CONFIG for xx 945704208a hack: name for target ARM architecture not specified 94639eb66f hack: typo in displayed platform name ffd75c2e0c libnetwork: Support IPv6 in arrangeUserFilterRule() (redux) 17723691e5 Revert "libnetwork: Support IPv6 in arrangeUserFilterRule()" 833096ce42 homedir: fallback to user.Current().homeDir if XDG_DATA_HOME/XDG_CONFIG_HOME and HOME are unset af6b5d55db vendor: github.com/moby/ipvs v1.1.0 f53feeea8b vendor: github.com/vishvananda/netns v0.0.2 8be470eea8 libnetwork: don't embed mutex in network c71555f030 libnetwork: return concrete-typed *Endpoint 581f005aad libnetwork: don't embed mutex in endpoint 0e91d2e0e9 libnetwork: return concrete-typed *Sandbox 0425baf883 libnetwork: don't embed mutex in sandbox f96b9bf761 libnetwork: return concrete-typed *Controller ae09fe3da7 libnetwork: don't embed mutex in controller bb5cae2c94 vendor: github.com/vishvananda/netns v0.0.1 102090916e libnetwork: addRedirectRules without reexec 582dd705c1 libnetwork: fwmarker without reexec d6cc02d301 libnetwork: drop (resolver).resolverKey field 50a4951ddc libnetwork: setup DNS resolver without reexec 4733127a04 libnetwork: set default VLAN without reexec 7037c48e58 libnetwork: set IPv6 without reexec 0246332954 libnetwork: create netns without reexec ef161d4aeb libnetwork: Clean up sysfs-based operations 9032e6779d c8d/resolver: Fallback to http for insecure registries c83fce86d4 c8d/resolver: Use hosts from daemon configuration 3a3f98b32b c8d/pull: Don't unpack manually 4a8c4110e3 produce progress events polling ctrd's content.Store 566a2e4c79 libnetwork: Remove iptables nat rule when hairpin is disabled d7deec1993 daemon/c8d: Implement import a254dad2e5 api/import: Guard from Digested instead of Canonical reference 28327f10a2 daemon/import: Extract common logic to api 8dbc5df952 daemon/config: inform the user when the input JSON contains invalid UTF-8 155e8d7d78 update to go1.19.5 d42495033e daemon/config: support alternate (common) unicode encodings using a BOM 8d1e56e210 CONTRIBUTING.md: drop reference to the Derek GitHub bot 0867d3173c cmd/dockerd: use default SIGQUIT behaviour 1dcf7d5b03 daemon/config: clean up tests to use common helper 1e1d326b50 plugins: Move GlobalSpecPaths into LocalRegistry 805aea501a docs: api: synchronise versioned API docs (v1.39 - v1.41) 92cbd1c69e docs: api: synchronise versioned API docs (v1.42) 4f81f9d5ea builder/dockerfile: use example.com for tests 65aa43bf66 libnetwork: use example.com for tests and examples dc30785947 ci: update buildkit to fix integration tests cba3edbc37 daemon/config: group JSON preprocessing steps bb19265ba8 daemon/config: ignore UTF-8 BOM in config JSON 2d397beb00 libnetwork: Support IPv6 in arrangeUserFilterRule() 6ab12ec8f4 rootless: move ./rootless to ./pkg/rootless c1bd5e9144 Use user paths for plugin discovery in rootless mode bffe6d5670 vendor: github.com/containerd/containerd v1.6.15 89fb8b32f6 graphdriver/btrfs: needs kernel headers >= 4.12, not >= 4.7 c12d7b6d21 upgrade to aws sdk go v2 aa80c33360 Dockerfile.*: drop libbtrfs c9d632e485 PACKAGERS: update Btrfs graphdriver dependencies d3778d65fa graphdriver/btrfs: use free wrapper consistently 3208dcabdc graphdriver/btrfs: use kernel UAPI headers 1449c82484 graphdriver/btrfs: drop version information fdcab58ccf Remove reference to "requireRegistryMatch" deb4910c5b integration-cli: Fix hanging TestLogsFollowGoroutines* 1616a09b61 add support for image inspect with containerd-integration bbe6e9e8d1 hack/make: Don't add -buildmode=pie with -race 7e7b0622a6 hack: restore copy_binaries func b37d34307d Clear conntrack entries for published UDP ports 1fdfd45995 Updated outdated docker contributing guidelines link 01fd23b625 Fix volume CreatedAt being altered on initialization d131147a5c use errors.Is() to handle image store errors 83280d44d0 docs: contributing docs update for cross comp e8a82ed24d Dockerfile: add "all" stage to build binaries and extra tools 113e95ec02 ci: add extra steps to check artifacts b565b496ba Dockerfile: rename dev stages 27ba1766e7 ci: use GITHUB_REF and GITHUB_SHA to set version and commit 0b3af098e1 bake: define additional vars 9bcf5bed05 bake: define DESTDIR 491467b0b9 hack: update buildmode pie condition 347a5f68da hack: do not set buildmode pie for statically linked binary e37985f590 hack: use PKG_CONFIG var when checking libdevmapper 84ea9ee0f9 IAmStatic not used anymore 04c90b8cf5 hack: remove containerutility script 8086f40123 Dockerfile: use TARGETPLATFORM to build Docker 722d477bc6 client: defaultHTTPClient(): don't ignore transport errors 31ee158394 client: defaultHTTPClient() accept URL 1de3966b84 image: store: rename vars that collided with types or shadowed vars 2910163df1 daemon/images: imageKey() accept string 040b5bbc52 image: store.restore(): use more structured logs 456ea1bb1d image: deprecate IDFromDigest() a5ebd28797 daemon/graphdriver/devicemapper: simplify Udev log, and update link 155e39187c daemon/logger/gcplogs: remove ensureHomeIfIAmStatic workaround 5fed968b1d api: can marshal and unmarshal when args.fields is empty ad8804885c Update delve version e7d75c8db7 api/types/container: fix validation for UTSMode, UsernsMode, PidMode 018347f802 integration-cli: remove waitInspectWithArgs() 61c434c030 integration-cli: remove inspectMountPointJSON() ffbbe3d103 daemon/graphdriver/btrfs: workaround field rename in btrfs-progs 6.1 0eb7b49a17 daemon: remove some intermediate vars, use struct-literals 288cf20f98 daemon: rename some vars that collided with imports c5d4b6b311 restartmanager: remove RestartManager interface efb97da0da restartmanager: add SetPolicy() to the RestartManager interface d68b68fc43 restartmanager: RestartManager.Cancel(): remove unused error return 42f1be8030 daemon: translateContainerdStartErr(): rename to setExitCodeFromError() 83dd99177f daemon: translateContainerdStartErr(): use exit code 128 as default 46dae0b8bb daemon: translateContainerdStartErr(): use early return for errors 4e750caf96 daemon: translateContainerdStartErr(): extract detecting wrong cmd a756fa60ef daemon: translateContainerdStartErr(): use const/enum for exit-statuses 2cf09c5446 daemon: translateContainerdStartErr(): remove unused cmd argument 087369aeeb daemon: containerStart(): rename return variable 940730093b integration-cli: remove cli.Build(), cli.Inspect() bc0885f364 integration-cli: remove WaitRestart(), un-export WaitForInspectResult() 1bd486666b api/types/container: use strings.Cut() and DRY ab5e69c442 api/types/container: rewrite tests to use subtests and asserts e155cb4fee hostconfig: move unit tests to api/types/container 12df6024db cmd/docker-proxy: add "-v / --version" flag c42b304f62 gha: update buildkit to fix integration tests 799cc143c9 Always use iptables -C to look for rules 205e5278c6 Merge iptables.probe() into iptables.detectIptables() 0787ea8b26 libnetwork: improve logs for DNS failures a959487597 libnetwork/netlabel: remove Key(), Value(), and KeyValue() utils 9015cb7111 libnetwork: controller: rename vars that collided or shadowed 96cfb076ce libnetwork/netlabel: make consts actual consts 36151bd1d7 libnetwork/drivers/bridge: remove "ioctl" fallback code for legacy kernels 6a91e09218 pkg/parsers: use strings.Cut(), and cleanup error-messages 3f935d0e2c daemon/graphdriver/zfs: use strings.Cut, and refactor f95e9b68d6 daemon: use strings.Cut() and cleanup error messages 46f7c92c9a libnetwork: use strings.Cut() and minor refactor 87ca9490b0 libnetwork/datastore: rename var that collided with import ff447f4fd5 runconfig/opts: use strings.Cut() bffb35612c plugin: use strings.Cut() 01365cbd74 libcontainerd/local: use strings.Cut() 6059d38f21 pkg/parsers/operatingsystem: don't use strings.SplitN() 451b8579ef pkg/parsers/kernel: use strings.Cut() and minor refactor 774cd9a26c opts: use strings.Cut() and refactor parseDaemonHost() d3cd746067 integration-cli: use strings.Cut() 38b0c47f37 integration-cli: links: use gotest.tools compare and assert.Check ebda2fa2b5 integration/internal: use strings.Cut() and minor refactor 39f59c3289 daemon/links: use strings.Cut() ad7f1a8dcc daemon/logger: use strings.Cut() 32c4c15f15 daemon/events: use strings.Cut() 5008409b5c cmd/dockerd: use strings.Cut() 19cd5ff164 client: use strings.Cut() 64adea1ce1 volume: use strings.Cut() and minor refactor 19db33afc9 pkg/tarsum: use strings.Cut() and minor refactor 59880cb855 builder/dockerfile: use strings.Cut() 604a2d67b5 builder/remotecontext/git: use strings.Cut() 380a2dfc3a api/types: use strings.Cut() 7841ce781c api/types/time: use strings.Cut() ba9bcf92f6 api/types/filters: use strings.Cut() 6db4af7bd5 graphdriver: windows: use strings.Cut() c545473920 daemon/cluster: use strings.Cut() ec878a3d89 pkg/sysinfo: unify ReadMemInfo implementation 09ea6744fe pkg/sysinfo: remove github.com/docker/go-units dependency 6a516acb2e pkg/system: move memory-info types to pkg/systeminfo 6919b9879b pkg/sysinfo: unify NumCPU implementation c63ea32a17 pkg/ioutils: TempDir: move to pkg/longpath 3314f4ef09 pkg/ioutils: unify TempDir implementation 2e67c85c13 pkg/longpath: fix package GoDoc c4c53659f1 integration-cli: remove uses of ioutils.TempDir 2e67c827bb errdefs: FromStatusCode() don't log "FIXME" debug message 83d7ae76e8 vendor: github.com/containerd/containerd v1.6.14 72ea8cfb43 registry: use http.NewServeMux for tests instead of gorilla/mux 54512f2184 pkg/stringid: optimize performance d20ddb6807 update containerd binary to v1.7.0-beta.1 35cbdc9661 vendor: github.com/containerd/containerd v1.6.13 9300aca2a6 vendor: github.com/Microsoft/hcsshim v0.9.6 19f3448c21 Dockerfile: delve cross build with TARGETPLATFORM ed95e1a9ff Dockerfile: swagger cross build with TARGETPLATFORM 879b023706 Dockerfile: containerutility cross build with TARGETPLATFORM 8d9a357a67 Dockerfile: registry cross build with TARGETPLATFORM a4bc2922c2 Dockerfile: dockercli cross build with TARGETPLATFORM 420591c4a2 Dockerfile: rootlesskit cross build with TARGETPLATFORM f0307892ea Dockerfile: tini cross build with TARGETPLATFORM 5e19d7ec54 Dockerfile: runc cross build with TARGETPLATFORM 81d704d15d Dockerfile: containerd cross build with TARGETPLATFORM b19c11621a Dockerfile: DOCKER_STATIC arg 69c9dfd6d5 Dockerfile: add dummy stage 6cba7d22e9 Dockerfile: add cross compilation helper 0007490b21 vendor: github.com/moby/swarmkit/v2 v2.0.0-20221215132206-0da442b2780f e19dff9285 daemon/config: remove deprecated RootDeprecated field 32b299f63e daemon/config: rename CommonTLSOptions to TLSOptions ef7ab7bde8 cli: remove cli/config package, integrate into cmd/dockerd 6a90113e68 cli: move cobra customizations into cmd/dockerd 3d58b43efe cli: remove unused Errors type 25c3421802 hack: introduce validate/no-module a449f77774 hack: replace go-mod-prepare.sh with wrapper script 388fe4aea8 daemon: drop side effect from registerLinks() 0141c6db81 daemon: don't checkpoint container until registered 00157a42d3 daemon: fix GetContainer() returning (nil, nil) 7b13076f56 daemon: CreateNetwork: remove redundant error check 389dacd6e2 vendor: github.com/tinylib/msgp v1.1.6 24496fe097 vendor: github.com/philhofer/fwd v1.1.2 8fb71ce208 manage image inspect data in backend a8eb15eafb ImageService.ImageHistory(): pass context 0426c76142 List images with multiple since/before filters e214503789 image/store: Use errdefs for errors 28382c58ec container: ViewDB: use logrus.WithError() 6549a270e9 container: ViewDB: return typed system errors 94dea2018e container: ViewDB: GetByPrefix() return typed errors da4d627e79 container: ViewDB: use errdefs for non-existing containers ddaba6d576 daemon: filterByNameIDMatches() fix error handling 8c9a240597 container: use const for null-terminator 200edf8030 libcontainerd/remote: remove stray import comment 12c76d4a15 vendor: github.com/containerd/containerd v1.6.12 4bbc37687e vendor: golang.org/x/net v0.4.0 18f85467e7 docs: add 401 to possible status codes of /auth d331bc3b03 vendor: github.com/containerd/containerd v1.6.11 52bc1ad744 update to go1.19.4 f577f31f50 Add Bjorn Neergaard to maintainers 9da935629e Better not pretend to be an active currator 383e23fd61 Add Kevin Alvarez ("crazy-max") to curators 521b8c02cc builder: handle host-gateway with extra hosts 381fa4afca ci(buildkit): update buildkit ref to fix issue with alpine image a6a539497a distribution: checkSupportedMediaType: allow additional media-types 57b229012a seccomp: block socket calls to AF_VSOCK in default profile eaa74497b8 libnetwork: use go-immutable-radix instead of radix 93fa093122 testing: move fuzzers over from OSS-Fuzz 3d97f1e22d client/list: Handle SharedSize e1c3305015 AUTHORS: regenerate 672383bc56 .mailmap: cleanup and additions b94d1604a9 hack/generate-authors.sh: refactor and simplify 6326ad1729 vendor.mod: remove outdated comment about replaced module 0f0fce5dcc libnetwork/netutils: FindAvailableNetwork(): simplify reading of resolv.conf 0cbe6524db libnetwork/drivers/overlay: getBridgeNamePrefix() simplify reading of resolv.conf 0ef0dab2f7 libnetwork: sandbox.rebuildDNS() make updating sandbox more atomic 806b4fbcad libnetwork: sandbox.rebuildDNS() move variables closer to where they're used d178a71b7c libnetwork: sandbox.rebuildDNS() simplify reading of resolv.conf 05b3356631 libnetwork: sandbox.setupDNS() don't parse host resolv.conf if not needed 08d5e3d0fa libnetwork: sandbox.setupDNS() simplify reading of resolv.conf a44f547343 registry: session: remove unused id fb77973201 pkg/system: move CheckSystemDriveAndRemoveDriveLetter to pkg/archive c4872b4519 pkg/system: CheckSystemDriveAndRemoveDriveLetter: fix error format ad371893f2 pkg/system: move GetLongPathName to integration-cli 9f3e5eead5 pkg/system: deprecate DefaultPathEnv, move to oci dec81e489f daemon/disk_usage: Use context aware singleflight f7e59cbccc Jenkinsfile: Fix dev image build fox ppc64le/s390x archs 85fddc0081 distribution: remove unused RequireSchema2 8feeaecb84 use ad-hoc libtrust key e854b2a459 distribution: use ad-hoc trustkey for tests 5cdd6ab7cd daemon/config: remove TrustKeyPath, and local utilities 1981706196 daemon: remove migrateTrustKeyID() c1756e1b63 update containerd binary to v1.7.0-beta.0 c1a9e82d3e vendor: google.golang.org/grpc v1.50.1 bade242ddd Makefile: always use buildx 426e3926ef ci: define timeout for jobs dc52e08bb5 vendor: github.com/prometheus/client_golang v1.14.0 b2fe29ba79 vendor: github.com/go-logr/logr v1.2.3 7c1b7842c6 vendor: golang.org/x/crypto v0.2.0 efe17dbdb4 vendor: golang.org/x/net v0.2.0 0588a83380 vendor: github.com/opencontainers/runc v1.1.3 38adf7a694 vendor: github.com/klauspost/compress v1.15.12 e1058e6bc3 go.mod: golang_protobuf_extensions v1.0.4 - prevent incompatible versions 62344f515c layer: layerStore.registerWithDescriptor: rename var to prevent shadowing e5e6480694 Add Sam Thibault (sam-thibault) as curator 4769809555 api/server/backend/build: sanitizeRepoAndTags() check for digest 64f9ea1cf5 vendor: github.com/moby/swarmkit/v2 v2.0.0-20221123162438-b17f02f0a054 a5898e3a2d vendor: github.com/prometheus/client_golang v1.13.0 2cc6a86fd3 vendor: github.com/aws/aws-sdk-go v1.37.0 8f1bc3a3b7 vendor: google.golang.org/grpc v1.48.0 b0e20e1b3c vendor: go.uber.org/zap v1.21.0 066fb6c69e vendor: go.uber.org/multierr v1.8.0 b41580d66e vendor: go.uber.org/atomic v1.9.0 341c9e77a8 vendor: github.com/jmespath/go-jmespath v0.4.0 9a8b46518b vendor: google.golang.org/genproto v0.0.0-20220706185917-7780775163c4 1e48b64538 vendor: github.com/fernet/fernet-go v0.0.0-20211208181803-9f70042a33ee 4113a88523 vendor: google.golang.org/protobuf v1.28.1 26c4429f7e vendor: github.com/spf13/cobra v1.6.1 8a46a2a364 Dockerfile: remove hardcoded platforms for vpnkit stage 4f17d17009 ignorefiles: cleanup 61f266f660 vendor: github.com/moby/term v0.0.0-20221120202655-abb19827d345 af8e955e8f hack/go-mod-prepare.sh: find root robustly; make steps transparent 30b0cb0cd4 vendor.mod: add comment about replaced dependency 62a4a45a72 vendor.mod: remove replace for github.com/rexray/gocsi a2d758acc9 vendor: github.com/armon/go-radix v1.0.1-0.20221118154546-54df44f2176c 9f004830a5 hack/validate/vendor: clean up license validation step dbd76848ca hack/validate/vendor: split tidy from vendor 72568286ab hack/vendor.sh: allow running tidy & vendor separately 40069797ef hack: remove obsolete sources for go-autogen 07ba3e35d3 Add additional loggig in case of error of renaming runtimes-old and removing it d591710f82 Handle docker start inside overlayfs ca807edac0 update github.com/tc-hib/go-winres v0.3.0 to fix schema version in manifest 25dc760162 Dockerfile: variant support in frozen-images stage 882ddf4b16 update gotestsum to v1.8.2 b529870558 daemon/config: use strings.Cut(), fix panic in BuilderGCFilter 7ca03c1a79 rootlesskit.installer: s/vendor.conf/vendor.mod/ a2cea992c2 libnetwork/iptables: Fix test panic when execute only one test a6cb8efd81 vendor: golang.org/x/oauth2 v0.1.0 9d7bd47cb6 vendor: golang.org/x/crypto v0.1.0 d9fb730148 update RootlessKit to v1.1.0 08516af897 vendor: github.com/rootless-containers/rootlesskit v1.1.0 be18f92bf4 hack/validate: drop changelog-related steps ec1bb21649 cleanup: drop historical CHANGELOG.md e8ad01594a cleanup: drop .DEREK.yml 4e5c3b82cb vendor: github.com/containerd/containerd v1.6.10 a5979a2106 update containerd binary to v1.6.10 06e4b7d1f8 vendor: github.com/moby/buildkit v0.10.6 40908fca45 fix vendor.mod: add hashicorp/go-multierror as direct dependency 81ccfd44e4 Fix grammar in README.md 6a02afa56f ci(actions): bump outdated actions on Linux 0557569947 ci(actions): migrate to file-based commands 79f9ffd401 vendor: golang.org/x/net v0.1.0 71fa64a272 vendor: golang.org/x/time v0.1.0 4965f19626 vendor: golang.org/x/sync v0.1.0 4bb95eef6f vendor: golang.org/x/sys v0.1.0 67b9f120d5 pkg/archive: switch back to os/exec b7d242f094 builder/remotecontext/gitutils: switch back to os/exec 6a15f40803 libnetwork_test: improve OptionBoltdbWithRandomDBFile a0f9caec99 libnetwork_test: stop controllers at end of test 010077ba0f libnet/d/bridge: fix race condition in test case 7b2308980c libnet/d/bridge: fix bridgeInterface.addresses() c2a087a9f7 libnet/d/bridge: use fresh PortAllocator in tests 1b64f2e28b libnetwork: stop caching global netlink handle d0096bba21 libnetwork_test: overhaul TestParallel 32ace57479 libnetwork_test: isolate tests from each other 0411336b49 libnetwork_test: pass controller into createTestNetwork 9a0953a0a0 libnet/testutils: spawn goroutines in test OS ctxs 07be7b087d libnetwork_test: remove in-container special case e2a89b7ad1 libnet/d/bridge: configure store when opts missing 8a20564847 libnet/datastore: stop sharing defaultScopes singleton 8404507b9b libnet/osl: stop assuming caller thread is clean 0f7c9cd27e Remove uses of deprecated go-digest.NewDigestFromHex, go-digest.Digest.Hex 6174d00c03 replace distribution/digestset with opencontainers/go-digest/digestset bbb1b82232 go.mod: github.com/miekg/dns v1.1.43 d43bc26717 vendor: gotest.tools/v3 v3.4.0 57ba2df970 vendor: github.com/google/go-cmp v0.5.9 to remove golang.org/x/xerrors dep f39b83e232 libnetwork: fix TestParallel "bad file descriptor" fe6706a2ce libnetwork: make tests less dependent on others cea8e9b583 libcontainerd/supervisor: use pkg/pidfile for reading and writing pidfile 14da1bfe40 cmd/dockerd: adjust error message for pidfile changes 7493debe26 pkg/pidfile: implement Read() 7d3e1ad943 pkg/pidfile: Write(): don't automatically create parent directories 81945da0ac pkg/pidfile: Write(): take pid as argument 735e250326 pkg/process: Alive(): fix PID 0, -1, negative values 55d15e9d05 pkg/pidfile, pkg/process: use single implementation for process alive 9d5e754caa move pkg/system: process to a separate package 0040fb93d6 pkg/system: IsProcessZombie() skip conversion to string, use bytes instead 970ad4e3c7 pkg/system: IsProcessZombie() ignore "os.ErrNotExist" errors 8d6da1e100 pkg/system: IsProcessAlive() remove redundant type-cast 2006d9f7d1 cmd/dockerd: Rewrite shutdownDaemon to use context timeout 66a0289081 builder: Don't store context in struct a181a825c8 daemon/start: Revert passing ctx to ctr.Start def549c8f6 imageservice: Add context to various methods 57c2545cd5 vendor: github.com/moby/swarmkit/v2 v2.0.0-20221102165002-6341884e5fc9 1bef9e3fbf Fix containerd task deletion after failed start be1829f63d daemon/logger: fix godoc 407e3a4552 distribution: Error when pulling OCI artifacts 4386e3f7c0 pkg/parsers/kernel: un-export Utsname 775dcab7a2 pkg/parsers/kernel: remove duplicate Package godoc 8d0dc69027 implement docker system df 952e1e62c5 Sort entries in pkg/namesgenerator 5bc17c3e54 Remove long-deprecated "arm" fallback 3d71555a47 Remove errant "runtime.GOARCH" from debug message f9d4589976 Update to Go 1.19.3 to address CVE-2022-41716 1e88fe578e pkg/idtools: remove execCmd() utility 3d73d32499 api/types/filters: add output to example c207947508 integration-cli: DockerPluginSuite: use gotest.tools compare utilities 346a438da8 opts: TestParseLink(): add test-case for legacy format ad4073edc1 daemon: fix docs for config-default constants dcd6c1d2e2 container: make path resolution fns Windows-only 2bdc7fb0a1 daemon: archive in a dedicated mount namespace 7d23c50599 integration: test more copy edge-cases 6750d1bac8 daemon: drop Windows-only code from archive_unix.go 4fd91c3f37 daemon: refactor isOnlineFSOperationPermitted 84cbe29d5b daemon: dupe the archive implementation 60ee6f739f Add reusable chroot and unshare utilities 317d3d10b8 Revert "Use real chroot if daemon is running in a user namespace" 5de229644f pkg/chrootarchive: stop reexec'ing before chroot f2f884a92f pkg/archive: create whiteout temp dir under dest 1f32e3c95d Add integration test for #38995, #43390 6c0aa5b00a Fix the max-concurrent-downloads and max-concurrent-uploads configs documentation 22529b81f8 libnetwork: drop InitOSContext() 7fc29c1435 libnetwork/osl: clean up Linux InvokeFunc() d1e3705c1a libnet/d/overlay: restore thread netns 3e2f0c7a39 libnetwork: fixup thread locking in Linux tests afa41b16ea libnetwork/testutils: restore netns on teardown 04dc007c76 vendor: github.com/containerd/containerd v1.6.9 ac79a02ace update containerd binary to v1.6.9 4f1d1422de integration: download busybox-w32 from GitHub Release 4fdc1bb1fb builder/remotecontext/git: allow building on go1.18 4f43cb660a skip TestImagePullStoredfDigestForOtherRepo() on Windows and rootless 27530efedb Validate digest in repo for pull by digest 92eca900b0 Revert "testutil/registry: remove unused WithStdout(), WithStErr() opts" 201fdf67ac gha: update buildkit to v0.10.5-6-ge27c8e24 to skip some tests 0760c6f4e1 gha: buildkit: make checks more readable cfa2f9a2f2 gha: buildkit: remove "skip-integration-tests" from matrix 67d010bd2c builder: add missing doc comment 94672c89cc builder: fix running git commands on Windows 61acc9939f builder: make git config isolation opt-in 72119f5d9b builder: isolate git from local system 0f7b0897cc builder: explicitly set CWD for all git commands 8deb92d653 builder: modernize TestCheckoutGit 0fc17c42af vendor: github.com/moby/buildkit v0.10.5 51fe170224 daemon: NewDaemon() fix import colliding with local variable 27bd49f4bf daemon: NewDaemon(): replace system.MkdirAll for os.Mkdir where possible 19c5d21e6f daemon: getPluginExecRoot(): pass config 17fb29c9e8 daemon: NewDaemon(): check system requirements early 7ff0f654fb daemon: add TEST_INTEGRATION_USE_SNAPSHOTTER for CI 0a004fd361 daemon: NewDaemon(): log message if containerd snapshotter is enabled 4fa853f5de pkg/fileutils: ReadSymlinkedDirectory: preserve underlying error 24e371c812 pkg/fileutils: improve tests d4d242ba76 pkg/chrootarchive: gofumpt test files dee3f716b3 pkg/chrootarchive: replace system.MkdirAll for os.Mkdir 8a8202fcdc pkg/chrootarchive: TestChrootTarUntar fix copy/paste mistake 0955c88c2e pkg/chrootarchive: use t.TempDir() 30e5333ce3 registry: allow "allow-nondistributable-artifacts" for Docker Hub 69f72417f4 pkg/idtools: remove CanAccess(), and move to daemon ee34a8ac29 pkg/idtools: setPermissions() accept Identity as argument bca90530fa pkg/idtools: simplify if-statement d68fa0382d pkg/idtools: don't use system.Stat() on unix 43d6eb7173 pkg/pidfile: remove PIDFile type, rename New() to Write() dd8983f96c pkg/pidfile: reduce cyclomatic complexity, and small optimisation 4917bcc039 pkg/pidfile: don't ignore all errors when reading file 3ce2a7d026 pkg/pidfile: pkg/pidfile: use strconv instead of fmt.Sprintf(), and unconvert a9fa147a92 daemon/logger/etwlogs: rewrite to use go-winio/pkg/etw f058afc861 pkg/system: synchronize mkdirall() with latest os.MkDirAll() 2e66c0b6f0 pkg/system: create SecurityAttribute only once (Windows) 55ceb5047c pkg/system: update volumePath regex to allow returning earlier cfef1b11e5 pkg/system: compile volume-path regex once, and update GoDoc 264706f804 hack: allow pkg/ to import internal/ packages 3246db3755 fix force remove for cluster volumes 624daf8d9e Change restart delay for Windows service to 15s 3c585e6567 cmd/dockerd: use golang.org/x/sys Service.SetRecoveryActions() 34f459423a Replace overlay2 mount reexec with in-proc impl 6176ab5901 cmd/dockerd: use golang.org/x/sys/windows.SetStdHandle() ffcddc908e cmd/dockerd: replace deprecated windows.IsAnInteractiveSession() 75bdbf02a6 daemon/graphdriver/windows: Remove() don't use defer() in a loop 90431d1857 daemon/graphdriver/windows: use go-winio.GetFileSystemType() e35700eb50 daemon/graphdriver/overlay2: remove deprecated overrideKernelCheck b43a7ac530 integration/plugin: remove deprecated overlay2.override_kernel_check de705907a5 client: remove solaris build-tag, simplify and gofumpt 6fd2d4e772 integration: remove uses of pkg/system.Stat() 0242fef89c integration-cli: remove uses of pkg/system.Stat() 402e0b58ca testutil: use filepath.WalkDir instead of filepath.Walk 3db11af44b libnetwork/drivers/overlay: use filepath.WalkDir instead of filepath.Walk 0ee5518e76 oci: use filepath.WalkDir instead of filepath.Walk ec000ce555 pkg/archive: use filepath.WalkDir instead of filepath.Walk f595434abc daemon/graphdriver/devmapper: use filepath.WalkDir instead of filepath.Walk 8f1bc0bccc daemon/graphdriver/btrfs: use filepath.WalkDir instead of filepath.Walk 1870d5f4aa builder: use filepath.WalkDir instead of filepath.Walk d33428f0bf pkg/system: remove solaris left-over a35bcd01c5 pkg/pidfile: replace uses of windows.Close() with windows.CloseHandle() 89de943401 pkg/pidfile: windows: replace magic consts for golang.org/x/sys consts 11cceea58a pkg/idtools: cleanup errors 8d5b17e939 pkg/idtools: don't use system.MkdirAll() where not needed 2e74e307d0 pkg/idtools: format code with gofumpt 0fc13104e7 pkg/idtools: CanAccess(): reorder checks to allow early return c7c02eea81 pkg/loopback: use ioctl helpers from x/sys/unix 6742f74e0e vendor: golang.org/x/sys v0.0.0-20221006211917-84dc82d7e875 1ffdac4502 layer: gofumpt c3a5641132 layer: use strconv instead of fmt.Sprintf() 1fccb39316 pkg/idtools: remove unused CanAccess() stub for Windows 3b9b5842b3 pkg/idtools: mkdirAs(): move var and comment to where it's used 838fc976c8 integration(-cli): remove some redundant formatting 07b2e4cb79 client: use strconv instead of fmt.Sprintf() 145817a9cf libnetwork: use strconv instead of fmt.Sprintf() 56e64270f3 daemon: use strconv instead of fmt.Sprintf() 533ecb44b1 daemon/logger: use strconv instead of fmt.Sprintf() 7fbf321c2a daemon/graphdriver: use strconv instead of fmt.Sprintf 27aea4956c pkg/idtools: mkdirAs() be more explicit about ignored args on Windows a19ee75bd1 pkg/system: fix missing assertions and use sub-tests for ChTimes a9c5a40087 pkg/system: rename some tests to be more descriptive ab7bc6b7d2 pkg/system: use t.TempDir(), remove some test-utils 7bd051eeec pkg/system: windows: setCTime(): remove redundant conversion 0b8444aa0c pkg/system: rename maxTime and re-use, define unixEpochTime, update GoDoc 2c9684e35c pkg/system: add note about maxTime 247f90c82e pkg/system: move maxTime init() back to Chtimes code 4347080b46 pkg/system: remove Umask() utility 76ce3fd9c9 remove aliases for deprecated pkg/pubsub 89a9d7d650 fix typo c1729f876c remove aliases for deprecated pkg/fsutils ce2abb82c0 remove aliases for deprecated pkg/urlutil a5e1baf3ab vendor: github.com/opencontainers/selinux v1.10.2 1f22b15030 Lock OS threads when exec'ing with Pdeathsig ab677c41ea pkg/system: unconvert 07b1aa822c pkg/system: move GetExitCode() to pkg/idtools, and un-export 5b6b42162b pkg/fsutils: deprecate in favor of containerd/continuity/fs 26659d5eb8 pkg/directory: remove unused MoveToSubdir() utility bd6217bb74 pkg/directory: minor refactor of Size() 0a861e68df pkg/directory: Size(): add back type-casts to account for platform differences 618f26ccbc Volume prune: only prune anonymous volumes by default 7b4e4c08b5 Update to go 1.19.2 to address CVE-2022-2879, CVE-2022-2880, CVE-2022-41715 271243d382 docs: swagger: update description for default builder version c523d6d25c libnetwork: remove some outdated comments 6f435e0bb9 Update awslogs driver batching documentation. 60ace31be0 libnetwork: sandbox.updateDNS(): use const for file permissions f0be4d126d libnetwork: use object-literal for some structs 50a7c67363 libnetwork: fix some whitespace formatting 481185fb8a libnetwork/osl: fix GoDoc formatting 4c0e0979b4 Fix live-restore w/ restart policies + volume refs 3c69b9f2c5 replace pkg/fileutils Matching funcs with github.com/moby/patternmatcher 0249afc523 migrate pkg/pubsub to github.com/moby/pubsub 0440ca07ba pkg/fileutils: remove gotest.tools as dependency, use t.TempDir() f73d72bfdc pkg: replace some README's with GoDoc package descriptions b44b3193d0 oci.DevicesFromPath() switch to use containerd implementation c3a6de9ec8 logger/journald: unlock OS threads e2114731e7 contrib: make dockerd-rootless-setuptool.sh more robust 8a2e1245d4 runconfig, oci, image, layer, distribution: fix empty-lines (revive) f63dea4337 cmd/dockerd: fix empty-lines (revive) cd51c9fafb client: fix empty-lines (revive) f71fe8476a api/server: fix empty-lines (revive) b04f1416f6 opts: fix empty-lines (revive) ddb42f3ad2 daemon: fix empty-lines (revive) 05042ce472 daemon/images: fix empty-lines (revive) 0695a910c6 daemon/logger: fix empty-lines (revive) 9d9cca49b4 daemon/graphdriver: fix empty-lines (revive) 0c7b930952 daemon/cluster: fix empty-lines (revive) 4eb9b5f20e plugin: fix empty-lines (revive) 188724a597 volume: fix empty-lines (revive) e9f1b83a4a testutil: fix empty-lines (revive) 786e6d80ba integration: fix empty-lines (revive) ecb4ed172b builder: fix empty-lines (revive) dc0c2340b8 integration-cli: fix empty-lines (revive) 31441778fa api/types: fix empty-lines (revive) 412c650e05 pkg/*: fix "empty-lines" (revive) 8cd244a318 daemon: replace ErrExtractPointNotDirectory with errdefs c78af57e21 daemon: replace ErrVolumeReadonly with errdefs 0f1eeed5c2 daemon: replace ErrRootFSReadOnly with errdefs e31e9180cd integration-cli: remove isCpCannotCopyReadOnly utility 3564d03b0f daemon: remove getPortMapInfo alias ee5d8f43e1 pkg/signal: remove stubs for deprecated package 4a8b3b8bc5 api/types: remove aliases for deprecated Volume and VolumeUsageData 18ca7546f6 pkg/system: remove stubs for deprecated sequential functions 1e13247d6d pkg/idtools: mkdirAs(): fix infinite loops and repeated "chown" 7f3602f1c9 swagger: update links to logo 5dff494b87 test(pkg/archive): add TestImpliedDirectoryPermissions cd381aea56 libnetwork: fix empty-lines (revive) 267108e113 libnetwork/config: rename ParseConfigOptions() to New() 4831ff9f27 refactor(pkg/archive): factor out createImpliedDirectories helper 09cc2f9d0e libnetwork/config: inline LoadDefaultScopes() 528428919e libnetwork/config: merge DaemonCfg into Config 571baffd59 libnetwork: remove old integration tests 46f4a45769 libnetwork/config: remove ParseConfig() 7d574f5ac6 libnetwork/config: inline ProcessOptions a8a8bd1e42 libnetwork/config: remove "Experimental" and "Debug" options 2f1c382a6d golangci-lint: update to v1.49.0 a5be811269 chore(integration): delete outdated TODO comment 6ca4eda960 daemon: clean up vestiges of ContainerFS 9ce2b30b81 pkg/containerfs: drop ContainerFS type alias e332c41e9d pkg/containerfs: alias ContainerFS to string 95824f2b5f pkg/containerfs: simplify ContainerFS type be4f4644a8 pkg/containerfs: drop Driver abstraction 7014c0d65d pkg/containerfs: drop PathDriver abstraction e37a2d1879 pkg/containerfs: delete Archiver, Driver a7c8fdc55b pkg/containerfs: make ResolveScopedPath a free fn fd16e003fb pkg/containerfs: Remove NewLocalDriver() 4d48c00f94 pkg/containerfs: Trim away Driver interface part 1 489e7b61bf vendor: github.com/moby/sys/sequential v0.5.0 323ab8ef97 vendor: github.com/github.com/coreos/go-systemd v22.4.0 0af7b4961a client: TestNewClientWithOpsFromEnv(): use sub-tests 1a3d8019d1 Remove the OS check when creating a container 3e1601a980 vendor: gotest.tools v3.3.0 49de15cdcc libnetwork/resolvconf: removed unused GetIfChanged() and GetLastModified() 55fd77f724 set ReadHeaderTimeout to address G112: Potential Slowloris Attack (gosec) 6d59619d6e ci: reduce cache throttling limits 511a909ae6 container: remove ViewDB and View interfaces, use concrete types 419c47a80a Jenkinsfile: use Ubuntu 20.04 for DCO stage 5e50d002f1 ci: fix branch filter pattern 8596486743 Jenkinsfile: remove unit-validate stage cd54f31984 Jenkinsfile: remove report bundles creation in unit-validate a354970eaa Jenkinsfile: remove validation steps moved to GHA 85fa72c599 chore: update supported go version to 1.18+ c0fa14e8af vendor: github.com/armon/go-metrics v0.4.1 1d7ceb2fee vendor: github.com/google/btree v1.1.2 2597a71623 client: ignore kernel-memory on API >= 1.42 9b428a3d33 integration-cli: remove TestDockerSuite func 7b9877bd8a ci(test): report summary output 8ad8c6d887 fix debian sysvinit script fails to restart docker daemon when stopped 7602edfd06 ci: reusable dco workflow 5a98363a92 ci(test): dynamic validate matrix 9b71a46899 Revert "validation: temporarily allows changes in integration-cli" 3cb933db9d Update uses of Image platform fields in OCI image-spec a73d78f8d5 ci(test): validate job matrix c7e77dba7f Update some tests for supplementary group permissions f6b695d2fb use consistent alias for gotest.tools/v3/assert/cmp 9f8bd80487 Jenkinsfile: remove steps moved to GitHub Actions 36688496ca ci: fix .windows workflow name 807c849431 ci(test): send coverage to codecov 4c8af0e2f9 ci(test): upload reports 60864229b8 integration-cli: TestPluginInstallImage broken on GitHub Runner b8bf60c590 integration-cli: TestEventsOOM* broken on GitHub Runner df731c745a integration: TestNetworkLoopbackNat is broken on GitHub Runner 2e04be3fb9 ci: gha test workflow for integration and unit test 4dd86a0b33 containerd-integration: prefer error over panic where possible ff81dc3544 api/server/backend/build: remove Tagger and NewTagger 779a5b3029 ImageService.GetImage(): pass context 1eadbdd9fa Update to go 1.19.1 to address CVE-2022-27664, CVE-2022-32190 58413c15cb update to golang 1.19 9dab00a76e daemon/images: manifestMatchesPlatform() punch through context 518179f63e vendor: golang.org/x/net v0.0.0-20220906165146-f3363e06e74c cba36a064d Update to go 1.18.6 to address CVE-2022-27664, CVE-2022-32190 878906630b Wrap local calls to the content and lease service 0f052eb4f5 namesgenerator: remove Valentina Tereshkova 609d87003a pkg/archive: strip "write" bits again on Windows cddaa84777 pkg/archive: remove backward compat hack for go < 1.9 306b8c89e8 linting: host:port in url should be constructed with net.JoinHostPort 31fb92c609 linting: gosec: fix or suppress G112, G114 in test code 561a010161 linting: suppress false positive for G404 (gosec) a33d1f9a7c libnetwork/diagnostic: EnableDiagnostic(): use net.JoinHostPort de4af86e98 daemon: set containerd default snapshotter if none is configured 13f99eb65f vendor: github.com/docker/go-units v0.5.0 1557892c37 api: swagger: add errorDetail to CreateImageInfo d983fa0ebe api: docs: add errorDetail to CreateImageInfo (v1.42) 8b36298d7f pkg/archive: remove tests for CanonicalTarNameForPath d59758450b pkg/archive: make CanonicalTarNameForPath and alias for filepath.ToSlash 509f19f611 replace pkg/system Sequential funcs with moby/sys/sequential a4d081cc17 ci: move buildkit tests to a dedicated workflow 5cfc9c374c validate: address SC2155 (shellcheck) b9fd2cf605 validate: format vendor script with shfmt 6cef06b940 validate: add yamllint validation 91bb776bb8 validate: yamllint: ignore "truthy value should be one of" warnings cc2134ea83 validate: yamllint: set locale in config file f679d8c821 validate: yamllint: use "parsable" output 5f114b65b4 validate: yamllint rename config-file 1d7cd76ee9 Dockerfile: update yamllint to v1.27.1 5e0599cb6e pkg/jsonmessage: export "Stream" interface 2640aec0d7 pkg/system: make IsAbs() platform-agnostic 65fdd10d4e ci(windows): move windows-2019 to another workflow 8e8d9a3650 ci: fix broken workflow 8b748bd326 daemon: stop health checks before deleting task d0731af939 Unskip TestHealthCheckProcessKilled on Windows f7277806c8 vendor: github.com/klauspost/compress v1.15.9 d52ffce38f update containerd binary to v1.6.8 bd98bf38e9 update runc to v1.1.4 5dcaad0dd3 Upgrades buildx t…
- Loading branch information