mirror of
https://github.com/mageddo/dns-proxy-server.git
synced 2026-04-26 01:45:59 +03:00
[GH-ISSUE #431] Urgent: DPS breaks after upgrade to docker-ce version >25 #153
Labels
No labels
bug
confirmed
discussion
duplicate
enhancement
feature
feature-request
not-planned
pull-request
secondary-feature
stale
triage
waiting-feedback
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/dns-proxy-server-mageddo#153
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @twe-syde on GitHub (Jan 22, 2024).
Original GitHub issue: https://github.com/mageddo/dns-proxy-server/issues/431
What is Happening / What is expected
Upgrade docker-ce to version 25 and above, DSP will stop working due to outdated client API version.
client version 1.21 is too old. Minimum supported API version is 1.24, please upgrade your client to a newer versionupgrade client libs to meet the dependencies of docker API
Specs
@jensilo commented on GitHub (Jan 23, 2024):
I have the same problem. I did some research on it and believe that it has something to do with the way that the DPS tries to connect to the API, probably specifying a wrong Docker API version, at least that's the feeling I get from similar issues like this similar issue in telegraf service. They fixed it with a very simple change in the docker client: git commit with fix.
However, it seems like this project is abandoned. I don't expect anyone to fix this or commit to this project. :/
@friimaind commented on GitHub (Jan 23, 2024):
Same problem here when docker version is >= 25
On another system, where I have docker 24.0.7 build afdd53b4e3, all works fine.
@jensilo commented on GitHub (Jan 23, 2024):
@friimaind yeah, the issue is starting to become very clear here. Thanks for your report. I'd guess that it'll be an easy fix for someone with a solid knowledge of Java. Still, this project seems to be abandoned and no longer maintained. Maybe anybody out there who wants to maintain and fix a Java application? ^^
@odoo-sh commented on GitHub (Jan 24, 2024):
+1. I have same issue. Hoping for someone with java knowledge to update the client API.
@klein0r commented on GitHub (Jan 24, 2024):
Getting the same exception with
Docker version 25.0.1, build 29cf629on Ubuntu 20.04.5 LTSgithub.com/mageddo/dns-proxy-server@40b8b74dee/src/main/java/com/mageddo/dnsproxyserver/quarkus/DockerConfig.java (L23-L26)So - just a dependency update? API Version for Docker 25 is 1.44
https://github.com/docker-java/docker-java/blob/main/docker-java-core/src/main/java/com/github/dockerjava/core/RemoteApiVersion.java#L58
@odoo-sh commented on GitHub (Jan 25, 2024):
For those having the issue with docker version > 25, please check this thread of fnkr. This is an ideal alternative.
Thanks,
@sh3bang commented on GitHub (Jan 25, 2024):
Same problem!
Working:
Not working:
Workaround: lock docker v24!
@ThisIsQasim commented on GitHub (Jan 26, 2024):
I have created a PR with the fix. Not sure if it will get merged so I have created a release on my fork and a docker image
ghcr.io/thisisqasim/dns-proxy-server@marcatos commented on GitHub (Jan 30, 2024):
Thanks @ThisIsQasim , your image is working good in my case.
OS: Pop!_OS 22.04 LTS
Docker: version 25.0.1, build 29cf629
@rayout commented on GitHub (Feb 13, 2024):
Any update?
@cpainchaud commented on GitHub (Feb 15, 2024):
I need an update too ! thx
@mageddo commented on GitHub (Apr 23, 2024):
updated
3.16.2 is out. Can anyone confirms it fixes the issue?
@jribal commented on GitHub (Apr 30, 2024):
Fixed for me