Skip to content

Kotlin/Java library that implements an OCI registry according to the OCI Distribution Specification

License

Notifications You must be signed in to change notification settings

SgtSilvio/oci-registry

Repository files navigation

OCI Registry Kotlin/Java Library

Maven Central javadoc GitHub GitHub Workflow Status (with branch)

Kotlin/Java library that implements an OCI registry according to the OCI Distribution Specification. Any OCI compliant client can be used to pull and push OCI / Docker images from and to this registry implementation, including Docker.

How to Use

Add the Dependency

Add the following to your build.gradle(.kts):

repositories {
    mavenCentral()
}

dependencies {
    implementation("io.github.sgtsilvio:oci-registry:0.7.0")
}

Start a Reactor HTTP Server with the Handler

Add the following to your code (example in Kotlin):

HttpServer.create()
    .port(1234)
    .handle(OciRegistryHandler(DistributionRegistryStorage(Path.of("path/to/registry/data"))))
    .bindNow()

About

Kotlin/Java library that implements an OCI registry according to the OCI Distribution Specification

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages