4debf411d1
Merge pull request #4857 from thaJeztah/25.0_backport_codecov-action-4
...
build / prepare (push) Has been cancelled
build / build (push) Has been cancelled
build / bin-image (push) Has been cancelled
build / prepare-plugins (push) Has been cancelled
build / plugins (push) Has been cancelled
codeql / codeql (push) Has been cancelled
e2e / e2e (19.03-dind, non-experimental) (push) Has been cancelled
e2e / e2e (alpine, stable-dind, connhelper-ssh) (push) Has been cancelled
e2e / e2e (alpine, stable-dind, experimental) (push) Has been cancelled
e2e / e2e (alpine, stable-dind, non-experimental) (push) Has been cancelled
e2e / e2e (debian, stable-dind, connhelper-ssh) (push) Has been cancelled
e2e / e2e (debian, stable-dind, experimental) (push) Has been cancelled
e2e / e2e (debian, stable-dind, non-experimental) (push) Has been cancelled
test / ctn (push) Has been cancelled
test / host (macos-12) (push) Has been cancelled
validate / validate (lint) (push) Has been cancelled
validate / validate (shellcheck) (push) Has been cancelled
validate / validate (update-authors) (push) Has been cancelled
validate / validate (validate-vendor) (push) Has been cancelled
validate / validate-md (push) Has been cancelled
validate / validate-make (manpages) (push) Has been cancelled
validate / validate-make (yamldocs) (push) Has been cancelled
[25.0 backport] build(deps): Bump codecov/codecov-action from 3 to 4
v25.0.3
2024-02-06 21:42:40 +01:00
5e6ce1bde1
Merge pull request #4856 from thaJeztah/25.0_backport_plugin-socket-tests
...
[25.0 backport] Add tests for CLI/plugin communication
2024-02-06 21:42:20 +01:00
5428301e3f
build(deps): Bump codecov/codecov-action from 3 to 4
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
(cherry picked from commit b123ce6526 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-02-06 21:35:08 +01:00
1cbc218c05
tests: add plugin-socket-compatibility tests
...
Adds a new plugin to the e2e plugins that simulates an older
plugin binary and a test suite to ensure older plugin binaries
keep behaving the same with newer CLI versions.
Signed-off-by: Laura Brehm <laurabrehm@hey.com >
(cherry picked from commit cfa9fef77d )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-02-06 21:31:55 +01:00
2f6b5ada71
scripts: don't hardcode architecture in e2e script
...
Signed-off-by: Laura Brehm <laurabrehm@hey.com >
(cherry picked from commit 1c4d6d85dd )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-02-06 21:31:55 +01:00
d8e07c9c47
tests: add tests for cli-plugins/socket
...
Signed-off-by: Laura Brehm <laurabrehm@hey.com >
(cherry picked from commit 469bfc05ed )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-02-06 21:31:52 +01:00
5f1b610fc3
Merge pull request #4841 from thaJeztah/25.0_vendor_docker_25.0.2
...
[25.0] vendor: github.com/docker/docker v25.0.2
2024-02-01 16:32:18 +01:00
c105cd3ac2
Merge pull request #4837 from dvdksn/25.0_docs_backport_linode_volume_plugin
...
[25.0 Backport] docs: Add Linode docker volume plugin #4396
2024-02-01 04:15:42 +01:00
62b2963b80
vendor: github.com/docker/docker v25.0.2
...
no changes in vendored code
full diff: https://github.com/docker/docker/compare/v25.0.1...v25.0.2
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-02-01 04:12:31 +01:00
71f2b0d109
vendor: github.com/docker/docker v25.0.1
...
relevant changes:
- Fix isGitURL regular expression
- pkg/system: return even richer xattr errors
full diff: https://github.com/moby/moby/compare/v25.0.0...v25.0.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit 4b1ed1f442 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-02-01 04:11:47 +01:00
617bc98c8d
Add Linode docker volume plugin
...
Signed-off-by: Zhiwei Liang <zliang@akamai.com >
(cherry picked from commit 1f9573bb05 )
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2024-01-31 13:06:53 +01:00
29cf629222
Merge pull request #4819 from dvdksn/25.0_backport_docs_host-gateway-ip_daemonjson
...
build / prepare (push) Has been cancelled
build / build (push) Has been cancelled
build / bin-image (push) Has been cancelled
build / prepare-plugins (push) Has been cancelled
build / plugins (push) Has been cancelled
codeql / codeql (push) Has been cancelled
e2e / e2e (19.03-dind, non-experimental) (push) Has been cancelled
e2e / e2e (alpine, stable-dind, connhelper-ssh) (push) Has been cancelled
e2e / e2e (alpine, stable-dind, experimental) (push) Has been cancelled
e2e / e2e (alpine, stable-dind, non-experimental) (push) Has been cancelled
e2e / e2e (debian, stable-dind, connhelper-ssh) (push) Has been cancelled
e2e / e2e (debian, stable-dind, experimental) (push) Has been cancelled
e2e / e2e (debian, stable-dind, non-experimental) (push) Has been cancelled
test / ctn (push) Has been cancelled
test / host (macos-12) (push) Has been cancelled
validate / validate (lint) (push) Has been cancelled
validate / validate (shellcheck) (push) Has been cancelled
validate / validate (update-authors) (push) Has been cancelled
validate / validate (validate-vendor) (push) Has been cancelled
validate / validate-md (push) Has been cancelled
validate / validate-make (manpages) (push) Has been cancelled
validate / validate-make (yamldocs) (push) Has been cancelled
[25.0 backport] docs: update host-gateway-ip to use daemon.json instead of cli flag
v25.0.1
v25.0.2
2024-01-23 16:11:10 +01:00
4caf4de039
docs: update host-gateway-ip to use daemon.json instead of cli flag
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
(cherry picked from commit ec0a62436e )
2024-01-23 16:04:58 +01:00
950ecd42fd
Merge pull request #4815 from thaJeztah/25.0_backport_update_compose
...
[25.0 backport] Dockerfile: update docker compose to v2.24.2
2024-01-23 11:04:43 +01:00
6ab4781bd0
Dockerfile: update docker compose to v2.24.2
...
Update the version of compose used in CI to the latest version.
- full diff: docker/compose@v2.24 .0...v2.24.2
- release notes: https://github.com/docker/compose/releases/tag/v2.24.1
- release notes: https://github.com/docker/compose/releases/tag/v2.24.2
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit 091af560ca )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-01-23 10:34:14 +01:00
e8852e8ed2
Merge pull request #4806 from thaJeztah/25.0_backport_socket-eof-return
...
[25.0 backport] socket: return from loop after EOF
2024-01-22 14:10:02 +01:00
4e097c643d
socket: return from loop after EOF
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
(cherry picked from commit 8cd3b00420 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-01-20 13:45:39 +01:00
01f9332618
Merge pull request #4803 from thaJeztah/25.0_backport_update_engine
...
[25.0 backport] vendor: github.com/docker/docker v25.0.0
2024-01-19 15:31:35 +01:00
4cd8d5cf47
Merge pull request #4804 from dvdksn/backport_25.0_docs_fix_cli_broken_alias_links
...
[25.0 backport] docs: fix broken links to alias pages
2024-01-19 15:18:55 +01:00
21c12847bf
docs: move base command to docker.md
...
CLI reference for the base command was generated to cli.md
Changed it to docker.md to handle broken links.
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
(cherry picked from commit d633890f91 )
2024-01-19 15:09:15 +01:00
22e1f2cbfa
docs: fix broken links to alias pages
...
Alias pages redirect to the canonical names, but these pages still
linked to the aliases, causing broken links when building the docs site.
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
(cherry picked from commit aff4649cb7 )
2024-01-19 15:09:07 +01:00
68abf14c15
vendor: github.com/docker/docker v25.0.0
...
full diff: https://github.com/docker/docker/compare/v25.0.0-rc.3...v25.0.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit 337dd82d8b )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-01-19 15:07:25 +01:00
85a5ee4cb0
Merge pull request #4801 from dvdksn/backport_25.0_docs_cdi
...
[25.0 backport] docs: add documentation for CDI
2024-01-19 15:05:59 +01:00
9e1e07657a
docs: add documentation for CDI
...
- Add section about cdi-spec-dirs daemon configuration
- Add subsection about cdi in --device section for docker run
- Update `docker info` output example
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
(cherry picked from commit 852d198bb5 )
2024-01-19 14:58:18 +01:00
e758fe5a7f
Merge pull request #4795 from thaJeztah/bump_engine
...
build / prepare (push) Has been cancelled
build / build (push) Has been cancelled
build / bin-image (push) Has been cancelled
build / prepare-plugins (push) Has been cancelled
build / plugins (push) Has been cancelled
codeql / codeql (push) Has been cancelled
e2e / e2e (19.03-dind, non-experimental) (push) Has been cancelled
e2e / e2e (alpine, stable-dind, connhelper-ssh) (push) Has been cancelled
e2e / e2e (alpine, stable-dind, experimental) (push) Has been cancelled
e2e / e2e (alpine, stable-dind, non-experimental) (push) Has been cancelled
e2e / e2e (debian, stable-dind, connhelper-ssh) (push) Has been cancelled
e2e / e2e (debian, stable-dind, experimental) (push) Has been cancelled
e2e / e2e (debian, stable-dind, non-experimental) (push) Has been cancelled
test / ctn (push) Has been cancelled
test / host (macos-12) (push) Has been cancelled
validate / validate (lint) (push) Has been cancelled
validate / validate (shellcheck) (push) Has been cancelled
validate / validate (update-authors) (push) Has been cancelled
validate / validate (validate-vendor) (push) Has been cancelled
validate / validate-md (push) Has been cancelled
validate / validate-make (manpages) (push) Has been cancelled
validate / validate-make (yamldocs) (push) Has been cancelled
vendor: github.com/docker/docker v25.0.0-rc.3
v25.0.0
2024-01-18 10:33:39 +01:00
cdb1c105f6
vendor: github.com/docker/docker v25.0.0-rc.3
...
full diff: https://github.com/moby/moby/compare/v25.0.0-rc.2...v25.0.0-rc.3
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-01-17 23:28:28 +01:00
d161a2a470
Merge pull request #4767 from dvdksn/refresh-plugin-docs
...
build / prepare (push) Has been cancelled
build / build (push) Has been cancelled
build / bin-image (push) Has been cancelled
build / prepare-plugins (push) Has been cancelled
build / plugins (push) Has been cancelled
codeql / codeql (push) Has been cancelled
e2e / e2e (19.03-dind, non-experimental) (push) Has been cancelled
e2e / e2e (alpine, stable-dind, connhelper-ssh) (push) Has been cancelled
e2e / e2e (alpine, stable-dind, experimental) (push) Has been cancelled
e2e / e2e (alpine, stable-dind, non-experimental) (push) Has been cancelled
e2e / e2e (debian, stable-dind, connhelper-ssh) (push) Has been cancelled
e2e / e2e (debian, stable-dind, experimental) (push) Has been cancelled
e2e / e2e (debian, stable-dind, non-experimental) (push) Has been cancelled
test / ctn (push) Has been cancelled
test / host (macos-12) (push) Has been cancelled
validate / validate (lint) (push) Has been cancelled
validate / validate (shellcheck) (push) Has been cancelled
validate / validate (update-authors) (push) Has been cancelled
validate / validate (validate-vendor) (push) Has been cancelled
validate / validate-md (push) Has been cancelled
validate / validate-make (manpages) (push) Has been cancelled
validate / validate-make (yamldocs) (push) Has been cancelled
docs(plugins): fix typos and formatting
v25.0.0-rc.3
2024-01-17 14:28:58 +01:00
3df149545e
docs(plugins): fix typos and formatting
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2024-01-16 20:37:29 +01:00
33b00e5185
Merge pull request #4797 from dvdksn/daemon-builder-config
...
docs: add "builder" key to full daemon.json example
2024-01-16 20:34:02 +01:00
22bbdc7984
docs: add "builder" key to full daemon.json example
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2024-01-16 20:19:06 +01:00
5fde1f2b80
Merge pull request #4796 from thaJeztah/deprecate_old_api_versions
...
deprecate old API versions (1.23 and lower)
2024-01-16 19:42:14 +01:00
350d6bcc2c
Merge pull request #4792 from laurazard/alternative-fix-no-socket-notif
...
cli/plugins: use same pgid + skip signal forwarding when attached to a TTY
2024-01-16 18:28:38 +01:00
d2efc5b09c
deprecate old API versions (1.23 and lower)
...
The Docker daemon provides a versioned API for backward compatibility with old
clients. Docker clients can perform API-version negotiation to select the most
recent API version supported by the daemon (downgrading to and older version of
the API when necessary). API version negotiation was introduced in Docker v1.12.0
(API 1.24), and clients before that used a fixed API version.
Docker Engine versions through v25.0 provide support for all [API versions](https://docs.docker.com/engine/api/#api-version-matrix )
included in stable releases for a given platform. For Docker daemons on Linux,
the earliest supported API version is 1.12 (corresponding with Docker Engine
v1.0.0), whereas for Docker daemons on Windows, the earliest supported API
version is 1.24 (corresponding with Docker Engine v1.12.0).
Support for legacy API versions (providing old API versions on current versions
of the Docker Engine) is primarily intended to provide compatibility with recent,
but still supported versions of the client, which is a common scenario (the Docker
daemon may be updated to the latest release, but not all clients may be up-to-date
or vice versa). Support for API versions before that (API versions provided by
EOL versions of the Docker Daemon) is provided on a "best effort" basis.
Use of old API versions is very rare, and support for legacy API versions
involves significant complexity (Docker 1.0.0 having been released 10 years ago).
Because of this, we'll start deprecating support for legacy API versions.
Docker Engine v25.0 by default disables API version older than 1.24 (aligning
the minimum supported API version between Linux and Windows daemons). When
connecting with a client that uses an API version version older than 1.24,
the daemon returns an error. The following example configures the docker
CLI to use API version 1.23, which produces an error:
DOCKER_API_VERSION=1.23 docker version
Error response from daemon: client version 1.23 is too old. Minimum supported API version is 1.24, please upgrade your client to a newer version
An environment variable (`DOCKER_MIN_API_VERSION`) is introduced that allows
re-enabling older API versions in the daemon. This environment variable must
be set in the daemon's environment (for example, through a [systemd override
file](https://docs.docker.com/config/daemon/systemd/ )), and the specified
API version must be supported by the daemon (`1.12` or higher on Linux, or
`1.24` or higher on Windows).
Support for API versions lower than `1.24` will be permanently removed in Docker
Engine v26, and the minimum supported API version will be incrementally raised
in releases following that.
We do not recommend depending on the `DOCKER_MIN_API_VERSION` environment
variable other than for exceptional cases where it's not possible to update
old clients, and those clients must be supported.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-01-16 18:13:53 +01:00
a18dad3832
Merge pull request #4755 from dvdksn/cli-reference-canonical
...
docs: rename reference docs to "object_action"
2024-01-16 15:29:04 +01:00
508346ef61
plugins: fix plugin socket being closed before use
...
Signed-off-by: Laura Brehm <laurabrehm@hey.com >
2024-01-15 15:48:57 +00:00
ca58fdf5a1
Merge pull request #4794 from thaJeztah/ci_update_macos_runner
...
gha: update to use macos-12 runners
2024-01-15 15:31:39 +01:00
f722e07c62
gha: update to use macos-12 runners
...
It's the minimum version supported by Docker Desktop
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-01-15 15:00:09 +01:00
5f6c55a724
plugins: don't handle signal/notify if TTY
...
In order to solve the "double notification" issue (see:
ef5e5fa03f )
without running the plugin process under a new pgid (see:
https://github.com/moby/moby/issues/47073 ) we instead check if we're
attached to a TTY, and if so skip signalling the plugin process since it
will already be signalled.
Signed-off-by: Laura Brehm <laurabrehm@hey.com >
2024-01-15 13:30:17 +00:00
26560ff93c
Revert "plugins: run plugin with new process group ID"
...
This reverts commit ef5e5fa03f .
Running new plugins under a new pgid isn't a viable solution due to
it causing issues with plugin processes attempting to read from the
TTY (see: https://github.com/moby/moby/issues/47073 ).
Signed-off-by: Laura Brehm <laurabrehm@hey.com >
2024-01-15 13:30:01 +00:00
37f5515666
docs: fix broken link to tmpfs (missing anchor)
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2024-01-15 14:16:24 +01:00
b35361e8d2
docs: regenerate stubs for non-canonical commands
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2024-01-15 13:49:53 +01:00
67c5a9b6ff
Merge pull request #4791 from vvoland/ci-bin-image-2
...
ci: Add bin-image workflow (2nd approach)
2024-01-15 13:11:13 +01:00
9beb0e5f03
Merge pull request #4790 from thaJeztah/bump_x_sys
...
vendor: golang.org/x/sys v0.16.0
2024-01-15 12:40:05 +01:00
dfa2930afc
ci: Add bin-image workflow
...
Build and push an image containing a static CLI binary for master branch
and every release branch and tag.
This is a slightly adjusted copy of the bin-image workflow from
docker/buildx (by @crazy-max).
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com >
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com >
2024-01-15 12:05:10 +01:00
21c2536051
vendor: golang.org/x/sys v0.16.0
...
full diff: https://github.com/golang/sys/compare/v0.15.0...v0.16.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-01-15 12:01:27 +01:00
a6774de682
docs: rename cli reference aliases to canonical
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2024-01-15 11:29:30 +01:00
cf9d3692a3
docs: remove empty cli reference stubs
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2024-01-15 11:19:39 +01:00
077d07c4f0
Merge pull request #4771 from thaJeztah/update_engine
...
vendor: github.com/docker/docker v25.0.0-rc.2
2024-01-15 11:03:40 +01:00
d868dca00f
vendor: github.com/docker/docker v25.0.0-rc.2
...
- feat: make errdefs.IsXXX helper functions work with wrapped errors
full diff: https://github.com/moby/moby/compare/v25.0.0-rc.1...v25.0.0-rc.2
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-01-13 02:08:29 +01:00
1fc6ef9d63
Merge pull request #4785 from thaJeztah/revert_bin_image
...
build / prepare (push) Has been cancelled
build / build (push) Has been cancelled
build / prepare-plugins (push) Has been cancelled
build / plugins (push) Has been cancelled
codeql / codeql (push) Has been cancelled
e2e / e2e (19.03-dind, non-experimental) (push) Has been cancelled
e2e / e2e (alpine, stable-dind, connhelper-ssh) (push) Has been cancelled
e2e / e2e (alpine, stable-dind, experimental) (push) Has been cancelled
e2e / e2e (alpine, stable-dind, non-experimental) (push) Has been cancelled
e2e / e2e (debian, stable-dind, connhelper-ssh) (push) Has been cancelled
e2e / e2e (debian, stable-dind, experimental) (push) Has been cancelled
e2e / e2e (debian, stable-dind, non-experimental) (push) Has been cancelled
test / ctn (push) Has been cancelled
test / host (macos-11) (push) Has been cancelled
validate / validate (lint) (push) Has been cancelled
validate / validate (shellcheck) (push) Has been cancelled
validate / validate (update-authors) (push) Has been cancelled
validate / validate (validate-vendor) (push) Has been cancelled
validate / validate-md (push) Has been cancelled
validate / validate-make (manpages) (push) Has been cancelled
validate / validate-make (yamldocs) (push) Has been cancelled
temporarily revert ci: Add bin-image workflow
v25.0.0-rc.2
2024-01-12 14:46:30 -07:00