-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vendor: update to docker 27 #23197
vendor: update to docker 27 #23197
Conversation
Fixes compile issues with new docker changes, then fix all the new depreciation warnings. Also there seem to be larger pre-existing problems with the /containers/json API output as the HostConfig field seems to be missing but I don't have time to deal with that currently. Note this does not include changes for the new docker API 1.46. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
The new docker types have conflicting swagger:model names, there is both network.CreateResponse and container.CreateResponse. However both have a different fields (Warning and Warnings) and both are marked as required. The swagger generate sees both and somehow merges them but then only shows fields from one type but at the same time list all fields as required. This causes the swagger validation to fail: - "Warning" is present in required but not defined as property in definition "CreateResponse" To work around that we exlcude the netwok types from the swagger generation which makes it work again. Looking at the final type info in the browser it still shows the type onfo on the compat network endpints so it doesn't even loose any valuable information AFAICS. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
@mheon @containers/podman-maintainers PTAL |
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: giuseppe, Luap99 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
feb5cf8
into
containers:main
Fixes compile issues with new docker changes.
Also there seem to be larger pre-existing problems with the /containers/json API output as the HostConfig field seems to be missing but I don't have time to deal with that currently.
Note this does not include changes for the new docker API 1.46.
Does this PR introduce a user-facing change?