Java API Client for Docker, providing core functionality to interact with Docker daemon.
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.
com.github.dockerjava.core.DockerClientBuilder
Builds a Docker client instance.
import com.github.dockerjava.core.DockerClientBuilder;
import com.github.dockerjava.api.DockerClient;
public class Example {
public static void main(String[] args) {
DockerClient dockerClient = DockerClientBuilder.getInstance().build();
System.out.println("Docker client created");
}
}
Upgrade
Version history
Breaking-change detection hasn't run for this library yet.
Audit
Security & dependencies
CVE tracking and dependency tree are planned for a later release.