A lightweight, object-oriented Java library for interacting with the Docker Engine API.
docker-java-api is a lightweight Java library that provides programmatic access to the Docker Engine API, serving as the Java equivalent of the Docker command-line client. It offers an object-oriented, fluent interface for managing Docker images, containers, and other resources. The library is designed to be minimal and conflict-free, making it suitable for integration into various Java applications without runtime issues.
Java developers who need to interact with Docker Engine programmatically within their applications, particularly those working in environments where dependency conflicts are a concern, such as Java EE platforms. It is also aimed at developers seeking a clean, API-focused alternative to heavier Docker SDKs.
Developers choose docker-java-api for its lightweight design with minimal transitive dependencies, reducing conflicts with other frameworks. Its unique selling point is its focus on being a true API rather than an SDK, providing clean abstractions and a fluent, intuitive interface for Docker operations, along with built-in Unix socket support.
Lightweight Java Docker client
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Minimizes transitive dependencies to avoid conflicts with frameworks like Java EE, ensuring smooth integration without runtime issues.
Provides an intuitive, fluent interface for Docker operations, as demonstrated in the Unix socket usage example for pulling images and running containers.
Includes built-in support for connecting to Docker via Unix sockets, simplifying local daemon interaction without HTTP configuration overhead.
Comes with Maven profiles for running integration tests against live Docker instances, aiding in development and validation.
Requires users to manually provide a JSON-P implementation, adding setup complexity and potential dependency conflicts for those not in Java EE environments.
Focuses on core Docker Engine API, lacking built-in support for advanced features like Docker Swarm or Compose, which may require additional workarounds.
With version 0.0.13, the library may be prone to breaking changes and has a smaller ecosystem compared to mature alternatives like docker-java-client.