1
0
Fork
You've already forked papyri
0
OCI Distribution Registry
  • HTML 63.3%
  • Rust 34.8%
  • CSS 1.6%
  • Shell 0.3%
2025年04月24日 15:31:39 +02:00
assets hackup primitive web interface 2025年04月16日 15:14:12 +02:00
examples more ui features 2025年04月24日 15:31:39 +02:00
results update results, rm a few files 2025年04月22日 17:50:59 +02:00
scripts hackup primitive web interface 2025年04月16日 15:14:12 +02:00
src more ui features 2025年04月24日 15:31:39 +02:00
templates more ui features 2025年04月24日 15:31:39 +02:00
.gitignore finish implementing OCI pull compliance 2025年04月14日 13:40:15 +02:00
Cargo.lock more ui features 2025年04月24日 15:31:39 +02:00
Cargo.toml more ui features 2025年04月24日 15:31:39 +02:00
LICENSE finish implementing OCI pull compliance 2025年04月14日 13:40:15 +02:00
README.md refactor address to be owned, add reverse addr parsing 2025年04月15日 18:15:19 +02:00

Papyri

Papyri is a OCI Distribution Spec compliant container registry that is consumable as a Rust library for use with axum. An example server is provided for illistrative purposes and a full-featured standalone container registry might be implemented in the future. This library is intended to be used in Ayllu but may be useful elsewhere.

Note that this code has only been tested for use with Podman.

OCI Distribution Test

The distribution spec contains a compliance test that is package in the form of a container. Build the container provided here and then run scripts/conformance_test.sh. Results are saved in the results/ directory.

Running the Example

First add a new insecure registry to your /etc/containers/registries.conf.

[[registry]]
location = "localhost:8700"
insecure = true

Then run the example server:

cargo run --example=server

And finally interact with the dev server:

podman login localhost:8700
podman tag alpine:3 localhost:8700/alpine:3
podman push localhost:8700/alpine:3
podman pull localhost:8700/alpine:3