Docker::Registry - A client for talking to Docker Registries
# Use AWSs Elastic Container Registry use Docker::Registry::ECR; my $reg = Docker::Registry::ECR->new( region => 'us-west-2', account_id => '0123456789', ); my $repo_list = $reg->repositories; # Use Google Container Registry (GCR) use Docker::Registry::GCE; my $reg = Docker::Registry::GCE->new; my $repo_list $reg->repositories;
This module helps you talk to different Docker Registries from different cloud providers.
Docker Registry APIs are standard, but authentication methods differ from vendor to vendor. This set of modules helps manage that for you.
Consider this code Alpha quality. It works, but only some read-only methods have been implemented, and the API may still change. Be careful if you start depending on this module.
Returns a Docker::Registry::Result::Repositories object with the list of repositories
Returns a Docker::Registry::Result::RepositoryTags object with the list of tags
Each registry class has it's authentication providers. See:
Docker::Registry::GCE
Docker::Registry::ECR
for details
https://docs.docker.com/registry/spec/api/
Jose Luis Martinez CAPSiDE jlmartinez@capside.com
The source code is located here: https://github.com/pplu/kubectl-cliwrapper
Please report bugs to: https://github.com/pplu/kubectl-cliwrapper/issues
Copyright (c) 2018 by CAPSiDE This code is distributed under the Apache 2 License. The full text of the license can be found in the LICENSE file included with this module.
To install Docker::Registry, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Docker::Registry
CPAN shell
perl -MCPAN -e shell install Docker::Registry
For more information on module installation, please visit the detailed CPAN module installation guide.