Registry / networking / docker-java-transport-okhttp

docker-java-transport-okhttp

JSON →
library3.7.1javamavenunverified

OkHttp-based transport layer for the Docker Java client, enabling HTTP communication with Docker daemon.

<dependency> <groupId>com.github.docker-java</groupId> <artifactId>docker-java-transport-okhttp</artifactId> <version>3.7.1</version> </dependency>
INSTALL
IMPORT
SIG · DOCKER-JAVA-TRANSP
D
docker-java-transport-okhttp
networkingjavav3.7.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

OkHttpTransport
com.github.dockerjava.transport.okhttp.OkHttpTransport

Creates an OkHttp transport for Docker client.

import com.github.dockerjava.transport.okhttp.OkHttpTransport; import com.github.dockerjava.core.DockerClientConfig; public class Example { public static void main(String[] args) { DockerClientConfig config = DockerClientConfig.createDefaultConfigBuilder().build(); OkHttpTransport transport = new OkHttpTransport(config); System.out.println("OkHttp transport created."); } }
Debug
Known issues
gotchaOkHttp transport is one of several; ensure compatibility with your Docker client version.
fix
Use the same version of docker-java-core and docker-java-transport-okhttp.
affects: all
Upgrade
Version history
3.7.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Amazon
1
OpenAI (training)
1
Resources
docker-java-transport-okhttp — mvn dependency:get docker-java-transport-okhttp · libregistry