cloudknot.aws.DockerRepo

class cloudknot.aws.DockerRepo(name, aws_resource_tags=None)[source]

Class for creating and managing remote docker repositories.

Initialize a Docker repo object.

User may provide only name input, indicating that they would like to retrieve a pre-existing repo/image from AWS ECR. Or, if the repo does not exist, it will be created.

Parameters
  • name (str) – Name of the remote repository. Must satisfy regular expression pattern: [a-zA-Z][-a-zA-Z0-9]*

  • aws_resource_tags (dict or list of dicts) – Additional AWS resource tags to apply to this repository