Aduana
A very simple reqwest based crate to gather image info from a private docker registry.
This crate provides a simple interface to retrieve all the images stored on a
private registry, and retrieve the details per image as needed. To use it,
add the following to your Cargo.toml
:
[]
= "0.1"
An example:
use *;
pub async
Local Registry For Development and Testing
Create a certificate for development. I would recommend using mkcert.
To test things out, you can run a local docker registry as follows:
In a separate console, pull, retag, and push an image to your local test registry as follows:
For more info, see the docker docs.
Todos
For now this crate is only meant for use with a small local registry containing a limited set of images. It does not implement any filtering or pagination to collect all the tags each image has. Do not use it on very large repository you do not own as you will clobber it!