| Crates.io | ocilot |
| lib.rs | ocilot |
| version | 0.1.0-beta.2 |
| created_at | 2025-06-03 23:14:19.378663+00 |
| updated_at | 2025-06-03 23:31:58.43882+00 |
| description | cli and library for interacting with OCI registries |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1699602 |
| size | 256,193 |
Ocilot is a command-line tool and Rust library for interacting with OCI (Open Container Initiative) images and container registries.
cargo install --git https://github.com/awslabs/ocilot.git
git clone https://github.com/awslabs/ocilot.git
cd ocilot
cargo build --release
# List images in a repository
ocilot list myregistry.com/myrepository
# Pull an image as an oci archive
ocilot pull myregistry.com/myrepository:latest archive.tar
# Pull an image with specific platform as a loadable tarball
ocilot pull --format=tarball myregistry.com/myrepository:latest archive.tar
# Push an oci image archive to a registry
ocilot push oci_image.tar myregistry.com/myrepository:latest
# Copy from one registry to another
ocilot copy source.io/mysource:v1.0.0 target.io/mytarget:v1.0.0
Add this to your Cargo.toml:
[dependencies]
ocilot = "0.1.0"
Ocilot will handle automatic authorization with aws ecr both private and public based on the aws credentials in the calling environment. Any other registry credentials must be done via using docker login
See CONTRIBUTING for more information.
This project is licensed under the Apache-2.0 License.