Skip to content
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

Enable APIVersionNegotiation for docker connection #70

Merged
merged 2 commits into from
Feb 1, 2024

Conversation

yubiuser
Copy link
Owner

@yubiuser yubiuser commented Jan 31, 2024

PR #63 Upgraded the used docker version to v25 which sets the API version to v1.44.
Users with docker engines < v25 only had API version 1.43 and experienced a fatal error

{"level":"fatal","service":"docker event monitor","error":"Error response from daemon: client version 1.44 is too new. Maximum supported API version is 1.43","time":1706554624}

Adding the option client.WithAPIVersionNegotiation() within the NewClientWithOpts function should allow API negotiation between the client and the engine and fix the issue.

Signed-off-by: Christian König <ckoenig@posteo.de>
@yubiuser yubiuser requested a review from DL6ER January 31, 2024 21:04
Signed-off-by: Christian König <ckoenig@posteo.de>
@yubiuser
Copy link
Owner Author

yubiuser commented Feb 1, 2024

Has been confirmed working

@yubiuser yubiuser merged commit 08fb853 into development Feb 1, 2024
6 checks passed
@yubiuser yubiuser deleted the docker/apiversionnegotiation branch February 1, 2024 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant