https://catalogartifact.azureedge.net/publicartifacts/kcloudhubllc1763357129530.dockerenginejava-e8ca17ab-c78c-4ee7-b8ac-a252c7cfa712/image2_kcloud.txt.png

Docker Engine-Java

avaldaja kCloudHub LLC

Version 3.7.1 + Free Support on Ubuntu 24.04

Docker Engine-Java (commonly known as docker-java) is an open-source Java library that provides a programmatic interface to interact with the Docker Engine API. It enables Java applications to manage Docker resources such as containers, images, networks, and volumes directly without using the Docker CLI. It is widely used for automation, DevOps pipelines, and cloud-native Java applications.

Features of Docker Engine-Java:

  • Allows Java applications to communicate with Docker Engine API.
  • Supports container lifecycle management (create, start, stop, remove).
  • Enables image operations such as pull, build, tag, and delete.
  • Provides network and volume management capabilities.
  • Supports executing commands inside running containers.
  • Useful for DevOps automation, CI/CD pipelines, and microservices orchestration.

Docker Engine-Java Usage Instructions:

$ sudo su
$ cd /opt/docker-java-app
$ mvn dependency:tree | grep docker-java
$ ls ~/.m2/repository/com/github/docker-java/docker-java/
$ mvn clean compile
$ mvn exec:java -Dexec.mainClass="com.example.App"
$ docker --version
    

Disclaimer: Docker Engine-Java (docker-java) is an open-source library distributed under the Apache License 2.0. It is not an official Docker CLI tool but a third-party Java client for interacting with Docker Engine API. It is provided "as is" without any warranties. Users are responsible for proper implementation, configuration, and security when using Docker in production environments.