Java Docker API Client. To start using docker-java , you need to add at least two dependencies. You will need an instance of DockerClientConfig to tell the library how to access Docker, which credentials to use to pull from Docker registries, etc. The builder is available and allows you to configure every property of the client. Should you need to customize the Jackson's ObjectMapper used by docker-java, you can create your own DockerClientConfig. Once you decided which transport to use, you will need to instantiate an HTTP client. Once you have an HTTP client, you can make raw requests to the Docker daemon directly. To get an instance of DockerClient, you need to pass both DockerClientConfig and DockerHttpClient.

Features

  • The builder is available and allows you to configure every property of the client
  • You can tune registry auth, DOCKER_HOST and other options
  • There are a couple of configuration items, all of which have sensible defaults
  • There are three ways to configure, in descending order of precedence
  • Customize the Jackson's ObjectMapper used by docker-java

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow docker-java

docker-java Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of docker-java!

Additional Project Details

Programming Language

Java

Related Categories

Java Data Formats Software, Java Software Development Software, Java HTTP Clients, Java API Clients

Registered

2022-03-17