pub fn setup(
base: &Client,
state: &Path,
port: u16,
renew: bool,
report: &mut dyn FnMut(&str),
) -> Result<Info>Expand description
Create the registry, or bring it in line: the system project, its data
volume, the TLS material (in <state>/registry), the container and its
loopback proxy. Safe to run again; renew reissues the certificate.