Project

Project: ayllu/papyri

License: AGPL-3.0

Description: OCI Compliant Container Registry

Clone
httphttps://ayllu-forge.org/ayllu/papyri
Browse

Kevin Schoon

3 months ago

refmain
commit0e4ae3538736df4fbb770e351c7d362422965ba2
.
 
File Commit Size Mode Time
.gitignore hack together more basic implementation 17 B -rw-r--r-- 4 months ago
Cargo.lock . 31.5 KiB -rw-r--r-- 3 months ago
Cargo.toml . 1.3 KiB -rw-r--r-- 3 months ago
LICENSE hack together more basic implementation 33.7 KiB -rw-r--r-- 4 months ago
README.md hack together more basic implementation 928 B -rw-r--r-- 4 months ago
examples . NaN B d--------- 3 months ago
framework . 100.1 KiB -rw-r--r-- 3 months ago
manifest.json . 714 B -rw-r--r-- 3 months ago
results . NaN B d--------- 3 months ago
scripts . NaN B d--------- 3 months ago
src . NaN B d--------- 3 months ago
README.md
928 B

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.

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