Skip to content

Repository files navigation

Archives containing JAR files are available as releases.

What is docker-java?

Docker-java provides a standalone Docker server for Java.

Usage in private projects

  • Maven (inside the file)
 <repository>
<id>github</id>
<url>https://maven.pkg.github.com/intisy/docker-java</url>
<snapshots><enabled>true</enabled></snapshots>
</repository>
<dependency>
<groupId>io.github.intisy</groupId>
<artifactId>docker-java</artifactId>
<version>1.2.6.5</version>
</dependency>
  • Maven (inside the file)
 <servers>
<server>
<id>github</id>
<username>your-username</username>
<password>your-access-token</password>
</server>
</servers>
  • Gradle (inside the or file)
 repositories {
maven {
url "https://maven.pkg.github.com/intisy/docker-java"
credentials {
username ="<your-username>"
password ="<your-access-token>"
}
}
}
dependencies {
implementation 'io.github.intisy:docker-java:1.2.6.5'
}

Usage in public projects

  • Gradle (inside the or file)
 plugins {
id "io.github.intisy.github-gradle" version "1.3.7"
}
dependencies {
githubImplementation "intisy:docker-java:1.2.6.5"
}

Once you have it installed you can use it like so:

DockerProvider dockerProvider = DockerProvider.get();
dockerProvider.ensureInstalled();
dockerProvider.start();
DockerClient dockerClient = dockerProvider.getClient();

Currently supported setups:

  • - Linux root
  • - Linux rootless
  • - Windows Administrator
  • - Windows non-Administrator
  • - macOS root
  • - macOS rootless

License

Apache License 2.0

About

Docker-java provides a standalone Docker server for Java.

Topics

Resources

Stars

55 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages