Skip to content

Commit 00d49b8

Browse files
authored
Merge pull request #646
Compatibility With Docker 25+
2 parents 6fa996e + ab3a77c commit 00d49b8

File tree

5 files changed

+13
-5
lines changed

5 files changed

+13
-5
lines changed

RELEASE-NOTES.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## 4.0.0
2+
* Dependency Update: Upgraded Docker Java client library from 3.3.4 to 3.7.0 for latest features, bug fixes, and security updates.
3+
* Updated `docker-java-core` and `docker-java-transport-httpclient5` to version 3.7.0.
4+
* Updated Docker Remote API version from `1.24` to `1.44` to be compatible with the new latest Docker Engine `29.x+`
5+
6+
Breaking Changes
7+
* Docker Engine >= 25 is now required.
8+
19
## 3.32.7
210
* Bugfix: Fixing domain env variable setting. #628
311

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ dependencies {
6969
implementation('dev.failsafe:failsafe:3.3.1')
7070
implementation("io.github.resilience4j:resilience4j-circuitbreaker:2.2.0")
7171

72-
implementation('com.github.docker-java:docker-java-core:3.3.4')
73-
implementation('com.github.docker-java:docker-java-transport-httpclient5:3.3.4')
72+
implementation('com.github.docker-java:docker-java-core:3.7.0')
73+
implementation('com.github.docker-java:docker-java-transport-httpclient5:3.7.0')
7474

7575
implementation('info.picocli:picocli:4.7.6')
7676
implementation('com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.18.3')

docs/content/1-getting-started/requirements/_index.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ weight: 2
55

66
### Requirements
77
* Linux/Windows/Mac
8-
* Docker 1.21.x (Only if you run DPS using docker or want to solve docker containers hostname using DPS)
8+
* Docker 25 (Only if you run DPS using docker or want to solve docker containers hostname using DPS)
99
* Jre 21+ (When running the jar version)

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version=3.32.7-snapshot
1+
version=4.0.0-snapshot

src/main/java/com/mageddo/dnsproxyserver/quarkus/DockerConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public DockerClient dockerClient() {
2424
final var config = DefaultDockerClientConfig.createDefaultConfigBuilder()
2525
.withDockerHost(Objects.mapOrNull(dockerHost, URI::toString))
2626
.withDockerTlsVerify(false)
27-
.withApiVersion(RemoteApiVersion.VERSION_1_24)
27+
.withApiVersion(RemoteApiVersion.VERSION_1_44)
2828
// .withDockerCertPath("/home/user/.docker")
2929
// .withRegistryUsername(registryUser)
3030
// .withRegistryPassword(registryPass)

0 commit comments

Comments
 (0)