Difference between revisions of "Aws ecr describe-repositories"

From wikieduonline
Jump to navigation Jump to search
 
(11 intermediate revisions by 2 users not shown)
Line 4: Line 4:
  
 
* <code>aws ecr describe-repositories</code>
 
* <code>aws ecr describe-repositories</code>
* <code>aws ecr describe-repositories | grep repositoryName</code>
+
* <code>aws ecr describe-repositories | grep [[repositoryName]]</code>
 +
* <code>aws ecr describe-repositories --repository-name YourRepoName</code>
  
 
== Example ==
 
== Example ==
Line 12: Line 13:
 
         {
 
         {
 
             "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 29: 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: