Difference between revisions of "Aws ecr describe-repositories"

From wikieduonline
Jump to navigation Jump to search
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 +
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ecr/describe-repositories.html
  
  
 +
* <code>aws ecr describe-repositories</code>
 +
* <code>aws ecr describe-repositories | grep [[repositoryName]]</code>
 +
* <code>aws ecr describe-repositories --repository-name YourRepoName</code>
 +
 +
== Example ==
 +
aws ecr describe-repositories
 
  {
 
  {
 
     "repositories": [
 
     "repositories": [
 
         {
 
         {
 
             "repositoryArn": "arn:aws:ecr:us-east-2:XXXXXX:repository/myecrrepo",
 
             "repositoryArn": "arn:aws:ecr:us-east-2:XXXXXX:repository/myecrrepo",
             "registryId": "624058868395",
+
             "registryId": "12345678912",
 
             "repositoryName": "myecrrepo",
 
             "repositoryName": "myecrrepo",
 
             "repositoryUri": "XXXXXXX.dkr.ecr.us-east-2.amazonaws.com/myecrrepo",
 
             "repositoryUri": "XXXXXXX.dkr.ecr.us-east-2.amazonaws.com/myecrrepo",
Line 23: Line 30:
 
== Related terms ==
 
== Related terms ==
 
* <code>[[aws list all]]</code>
 
* <code>[[aws list all]]</code>
 +
* <code>[[aws ecr list-images --repository-name]]</code>
 +
* <code>[[aws ecr describe-image-scan-findings --repository-name]]</code>
 +
* <code> [[aws ecr get-login]]</code>
 +
* <code>[[docker push]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 20:00, 22 February 2024

https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ecr/describe-repositories.html


  • aws ecr describe-repositories
  • aws ecr describe-repositories | grep repositoryName
  • aws ecr describe-repositories --repository-name YourRepoName

Example[edit]

aws ecr describe-repositories
{
    "repositories": [
        {
            "repositoryArn": "arn:aws:ecr:us-east-2:XXXXXX:repository/myecrrepo",
            "registryId": "12345678912",
            "repositoryName": "myecrrepo",
            "repositoryUri": "XXXXXXX.dkr.ecr.us-east-2.amazonaws.com/myecrrepo",
            "createdAt": "2021-12-02T00:52:26+03:00",
            "imageTagMutability": "MUTABLE",
            "imageScanningConfiguration": {
                "scanOnPush": false
            },
            "encryptionConfiguration": {
                "encryptionType": "AES256"
            }
        }
    ]
}

Related terms[edit]

See also[edit]

Advertising: